Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’ve never tried it but the first thing that comes to mind is to use a service worker. The service worker would append a parameter to the initial request to indicate what theme is set in local storage. Then the initial response can use that as the default theme.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: