chrome.extension.getBackgroundPage()

74

chrome.extension.getBackgroundPage() -

(function () {
    var otherWindows = chrome.extension.getBackgroundPage();
    console.log(otherWindows.backgroundFunction()); 
})();

how to use getBackgroundPage -

var page = browser.extension.getBackgroundPage()

Comments

Submit
0 Comments