mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix NzHerald (xhr)
This commit is contained in:
parent
c8cc08bc39
commit
bc890a1193
@ -6,6 +6,7 @@ Post-release
|
|||||||
Add Ikz-online.de (Funke)
|
Add Ikz-online.de (Funke)
|
||||||
Remove Braunschweiger-zeitung.de (Funke; fix obsolete)
|
Remove Braunschweiger-zeitung.de (Funke; fix obsolete)
|
||||||
Fix Freitag.de (text-break)
|
Fix Freitag.de (text-break)
|
||||||
|
Fix NzHerald (xhr)
|
||||||
|
|
||||||
* v3.4.4.0 (2023-11-26)
|
* v3.4.4.0 (2023-11-26)
|
||||||
Add Freitag.de
|
Add Freitag.de
|
||||||
|
@ -100,6 +100,7 @@ function insert_script(func, insertAfterDom) {
|
|||||||
script.setAttribute('id', 'bpc_script');
|
script.setAttribute('id', 'bpc_script');
|
||||||
script.appendChild(document.createTextNode('(' + func + ')();'));
|
script.appendChild(document.createTextNode('(' + func + ')();'));
|
||||||
let insertAfter = insertAfterDom ? insertAfterDom : (document.body || document.head || document.documentElement);
|
let insertAfter = insertAfterDom ? insertAfterDom : (document.body || document.head || document.documentElement);
|
||||||
insertAfter.appendChild(script);
|
if (insertAfter)
|
||||||
|
insertAfter.appendChild(script);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
3
sites.js
3
sites.js
@ -1679,7 +1679,8 @@ var defaultSites = {
|
|||||||
},
|
},
|
||||||
"New Zealand Herald": {
|
"New Zealand Herald": {
|
||||||
domain: "nzherald.co.nz",
|
domain: "nzherald.co.nz",
|
||||||
allow_cookies: 1
|
allow_cookies: 1,
|
||||||
|
block_regex: /\.nzherald\.co\.nz\/sales\/public\/v\d\/entitlements/
|
||||||
},
|
},
|
||||||
"Newsday": {
|
"Newsday": {
|
||||||
domain: "newsday.com",
|
domain: "newsday.com",
|
||||||
|
Loading…
Reference in New Issue
Block a user