Fix block inline script (Firefox-synch)

master
magnolia1234 2022-01-23 21:44:20 +01:00
parent 1b85b54563
commit 71312145e5
4 changed files with 5 additions and 3 deletions

View File

@ -602,8 +602,9 @@ ext_api.webRequest.onHeadersReceived.addListener(function (details) {
// block inline script
var block_js_inline = [];
if (block_js_inline.length)
ext_api.webRequest.onHeadersReceived.addListener(function (details) {
if (block_js_inline.length === 0 || !isSiteEnabled(details)) {
if (!isSiteEnabled(details)) {
return;
}
var headers = details.responseHeaders;

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Chrome
Post-release
Fix block inline script (Firefox-synch)
* v2.5.3.0 (2022-01-23)
Add Huffingtonpost.it

View File

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.5.3.0"
"version": "2.5.3.1"
}

View File

@ -591,5 +591,5 @@
"*://*.wsj.net/*",
"*://*.zephr.com/*"
],
"version": "2.5.3.0"
"version": "2.5.3.1"
}