mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +01:00
Fix Nordwest Zeitung
This commit is contained in:
parent
cacd007a93
commit
1c2c69568f
4 changed files with 12 additions and 11 deletions
|
@ -11,6 +11,7 @@ Remove Entrepreneur (fix obsolete)
|
|||
Remove The-Village.ru (fix obsolete)
|
||||
Fix Aftonbladet.se (link to archive.is)
|
||||
Fix Boston Globe (css)
|
||||
Fix Nordwest Zeitung
|
||||
Fix Substack (split content)
|
||||
Fix Telegraaf.nl
|
||||
Fix TheSaturdayPaper.com.au
|
||||
|
@ -984,7 +985,7 @@ Update options: restore opt-in for custom sites (on reload; Chrome-only)
|
|||
Add Aachener-Zeitung.de (RP-medien)
|
||||
Add Apollo Magazine
|
||||
Add NK News (not pro)
|
||||
Add Nordwest Zeitung (Germany)
|
||||
Add Nordwest Zeitung
|
||||
Fix McClatchy Group (opt-in to custom sites for unlisted)
|
||||
Fix Wired (Googlebot)
|
||||
Fix WSJ (option to disable Googlebot; http error 500)
|
||||
|
|
|
@ -676,11 +676,10 @@ else if (matchDomain('nwzonline.de')) {
|
|||
if (window.location.pathname.match(/-amp\.html$/)) {
|
||||
amp_unhide_access_hide('="NOT data.reduced"', '="data.reduced"', 'amp-ad, amp-embed');
|
||||
} else {
|
||||
let paywall = document.querySelector('.story--premium__container');
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
if (paywall && amphtml) {
|
||||
let paywall = document.querySelector('.story--premium__container, .paywall-overlay');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
window.location.href = amphtml.href;
|
||||
window.location.href = window.location.pathname.replace('.html', '-amp.html');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -721,5 +721,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.9.8.2"
|
||||
"version": "2.9.9.7"
|
||||
}
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.evolok\\.net\\/|\\.lavanguardia\\.com\\/js\\/godo-basex-)"
|
||||
},
|
||||
"Nordwest Zeitung": {
|
||||
"domain": "nwzonline.de",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js",
|
||||
"amp_redirect": ".paywall-overlay"
|
||||
},
|
||||
"Republic.ru": {
|
||||
"domain": "republic.ru",
|
||||
"allow_cookies": 1,
|
||||
"useragent": "googlebot",
|
||||
"new_site": 1
|
||||
},
|
||||
"The Village.ru": {
|
||||
"domain": "the-village.ru",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.the-village\\.ru\\/assets\\/app\\/\\d.+\\.js"
|
||||
},
|
||||
"WirtschaftsWoche": {
|
||||
"domain": "wiwo.de",
|
||||
"allow_cookies": 1,
|
||||
|
|
Loading…
Reference in a new issue