mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-06-12 11:57:39 +02:00
Fix loading of contentScript
This commit is contained in:
@ -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]) {
|
||||
|
Reference in New Issue
Block a user