Question

Is there a way to create a global variable space between different windows of the same app? Accessing the main window's variables is also acceptable, I can bind angular on them.

Was it helpful?

Solution

chrome.runtime.getBackgroundPage(function callback) will give you access to the window object of the event page of the app from any other window. - rsanchez.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top