Answer the question
In order to leave comments, you need to log in
Chrome extension chrome.tabs missing from chrome object?
When executing the script via chrome.tabs.executeScript()
. In the chrome object, the script being executed does not have a tabs object, the rights are set in other places, but not here.
chrome.tabs.executeScript(tab[0].id, {
file: 'popupExecutor.js'
}, function () {
console.log('Run script');
});
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