Cross tab communication with in a browser
Posted: Wednesday, January 4, 2012 by Unknown in Labels: Coding practises/Programming
4
I wonder in this fast pace browser war, why not browsers provide native cross tab communication something like
window.getMyDomainBrowserTabs() -> returns array of windows
Once we get the array of window objects of all browser tabs which hold webpages severed from my domain, Using HTML5 window.postMessage we can communicate with all the browser tabs using its respective window object.
Though we accomplish it using localStorage, cookie polling..etc but obviously native is more reliable.
Hope to see this kind of native support in future