Each tab is independent, and therefore browsers probably do not allow JS on one tab to influence or change another. The only exception to the above is when one tab spawns another using JavaScript.
However, you can explore the Chrome or Firefox Addon extension . Both of these features provide the features you are looking for.
Alternative workflow:
You can have one main tab that opens the rest using window.open () . The function returns a link to an open window, which can then be used in combination with window.postMessage () .
var windowObjectReference = window.open(strUrl, strWindowName[, strWindowFeatures]);
Anirudh ramanathan
source share