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

Yes: there's a couple ways to do it, but the most common is to use localStorage and the 'storage' event, which will post in every open window when you modify localStorage.

It's very easy to check for localStorage support (some people disable it just like cookies) and it works, I think, everywhere except Opera, in almost every mainstream version.

(I use it a bunch).



Works in Opera too so far as I can see: http://caniuse.com/#feat=namevalue-storage




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: