Answer the question
In order to leave comments, you need to log in
How to manage browser background page?
There is a web dialer application based on sip.js. It needs to be designed as a browser extension so that it works in the background.
"background": {
"page": "index.html",
"persistent": true
},
"browser_action": {
"default_icon": "icon.png",
"default_popup": "popup.html"
},
chrome.runtime.getBackgroundPage(function(page){
console.log(page.document);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question