@Jeremy and others

>Abusing localStorage for messaging
>
>Interestingly, the widely supported Web Storage API provides a mechanism which 
>could be abused to implement a lightweight messaging system, using 
>window.localStorage and the “storage” event.
>
>Whenever you change a bit of data in localStorage, the “storage” event is sent 
>to every other window showing a page from the same hostname. Which is exactly 
>what we want.

http://ns.me.uk/2013/localstorage-inter-window-messaging

I think this is an interesting idea, to keep 2 TW tabs in sync,
without the need of a server backend.

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to