Fix loading of contentScript

This commit is contained in:
Adam
2020-04-26 22:45:19 -07:00
parent 08f2db9ec5
commit 939beeb0f0
4 changed files with 14 additions and 14 deletions

View File

@ -382,7 +382,7 @@ extensionApi.webRequest.onBeforeSendHeaders.addListener(function (details) {
if (tabId !== -1) {
// run contentScript inside tab
extensionApi.tabs.executeScript(tabId, {
file: 'contentScript.js',
file: 'src/js/contentScript.js',
runAt: 'document_start'
}, function (res) {
if (extensionApi.runtime.lastError || res[0]) {