I was puzzled when I first saw cross tab communication in impress.js for their slide control tab (slid.es) and I am still wondering about the proper use case of this feature today. Isn't this a security nightmare?
Chrome and Firefox support BroadcastChannel<p><a href="https://developers.google.com/web/updates/2016/09/broadcastchannel" rel="nofollow">https://developers.google.com/web/updates/2016/09/broadcastc...</a><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/BroadcastCh...</a>
This is great. I found this pattern very useful when communicating with iframes. I wrote a similar library a while back.<p><a href="https://github.com/taylorhakes/postmessage-plus" rel="nofollow">https://github.com/taylorhakes/postmessage-plus</a>
I had something very similar to this in my backlog, as a weekend project. Glad to see someone else beat me to it - saves me time in both implementation and maintenance! I look forward to trying it out