Cross tab communication with in a browser

Posted: Wednesday, January 4, 2012 by Venkat Pola in Labels:
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

4 comments:

  1. CoolAJ86 says:

    A solution, Sir!

    http://coolaj86.github.com/html5-shared-web-worker-examples

    https://github.com/coolaj86/html5-shared-web-worker-examples

  1. Yeah explored HTML5 shared web workers and accomplished it. Chrome is supporting it. Hope to see the same in rest of the browsers soon.

  1. The need forHTML5 Webdesign is improving day-by-day, as many new principles are coming into the market to increase the web system market.

  1. HTML5 design provides such growth that allows better development of film and songs. It is also going to allow better system among the websites