Fix Noz.de (no amp)

merge-requests/10/head
magnolia1234 2 years ago
parent cb4fcff10e
commit 5ea11605f0

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix Business Standard (images)
Fix DN.no (images)
Fix Noz.de (no amp)
Fix The Athletic (regwall)
Update custom flex sites (identify on dom)

@ -694,6 +694,9 @@ else if (matchDomain(['noz.de', 'shz.de', 'svz.de'])) {
if (paywall && amphtml) {
removeDOMElement(paywall);
window.location.href = amphtml.href;
} else {
let ads = document.querySelectorAll('div.nozmhn_ad');
removeDOMElement(...ads);
}
}
}

@ -1328,7 +1328,8 @@ var defaultSites = {
"Neue Osnabrücker Zeitung": {
domain: "noz.de",
allow_cookies: 1,
block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/
block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
useragent: "googlebot"
},
"Neue Westfälische": {
domain: "nw.de",

@ -8,6 +8,12 @@
"block_regex": "\\.poool\\.fr\\/",
"ld_json": "div#poool-widget|div.entry-content"
},
"Neue Osnabrücker Zeitung": {
"domain": "noz.de",
"allow_cookies": 1,
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js",
"useragent": "googlebot"
},
"The Atlantic": {
"domain": "theatlantic.com",
"block_regex": "cdn\\.theatlantic\\.com\\/_next\\/static\\/chunks\\/[567].+\\.js",

Loading…
Cancel
Save