Update excluded sites (no general block paywall)
This commit is contained in:
parent
9ad8d10d87
commit
71128511bf
@ -730,7 +730,8 @@ var block_js = block_js_default.concat(block_js_custom);
|
||||
// Disable javascript for these sites/general paywall-scripts
|
||||
function disableJavascriptOnListedSites() {
|
||||
ext_api.webRequest.onBeforeRequest.addListener(function (details) {
|
||||
if (!isSiteEnabled(details)) {
|
||||
let header_referer = details.originUrl ? details.originUrl : details.initiator;
|
||||
if (!isSiteEnabled(details) || matchUrlDomain(excludedSites, header_referer)) {
|
||||
return;
|
||||
}
|
||||
return {
|
||||
|
@ -7,6 +7,7 @@ Add Ruhr Nachrichten (Germany)
|
||||
Fix-update El Pais (Spain)
|
||||
Fix-update MIT Sloan Management Review
|
||||
Update block TinyPass (all subdomains)
|
||||
Update excluded sites (no general block paywall scripts)
|
||||
|
||||
* v2.0.4.0 (2021-01-17)
|
||||
Add Cicero (Germany)
|
||||
|
Loading…
x
Reference in New Issue
Block a user