mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 02:24:16 +01:00
Fix Ruhr Nachrichten (amp)
This commit is contained in:
parent
fed527675c
commit
e722fb2945
4 changed files with 15 additions and 5 deletions
|
@ -381,7 +381,7 @@ var blockedRegexes = {
|
||||||
'qz.com': /\.tinypass\.com\//,
|
'qz.com': /\.tinypass\.com\//,
|
||||||
'reuters.com': /\.reuters\.com\/(arc\/subs\/p\.min|pf\/resources\/dist\/reuters\/js\/index)\.js/,
|
'reuters.com': /\.reuters\.com\/(arc\/subs\/p\.min|pf\/resources\/dist\/reuters\/js\/index)\.js/,
|
||||||
'rollingstone.com': /cdn\.cxense\.com\//,
|
'rollingstone.com': /cdn\.cxense\.com\//,
|
||||||
'ruhrnachrichten.de': /\.tinypass\.com\//,
|
'ruhrnachrichten.de': /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|consent|subscriptions)-.+\.js)/,
|
||||||
'saechsische.de': /\.tinypass\.com\//,
|
'saechsische.de': /\.tinypass\.com\//,
|
||||||
'sandiegouniontribune.com': /metering\.platform\.sandiegouniontribune\.com\/v\d\/meter/,
|
'sandiegouniontribune.com': /metering\.platform\.sandiegouniontribune\.com\/v\d\/meter/,
|
||||||
'science-et-vie.com': /\.qiota\.com\//,
|
'science-et-vie.com': /\.qiota\.com\//,
|
||||||
|
|
|
@ -5,6 +5,7 @@ Post-release
|
||||||
Add Westfaelische Nachrichten (Germany)
|
Add Westfaelische Nachrichten (Germany)
|
||||||
Fix GElocal.it
|
Fix GElocal.it
|
||||||
Fix National Review
|
Fix National Review
|
||||||
|
Fix Ruhr Nachrichten (amp)
|
||||||
|
|
||||||
* v2.3.9.0 (2021-10-10)
|
* v2.3.9.0 (2021-10-10)
|
||||||
Add Lee Enterprises Group (local USA)
|
Add Lee Enterprises Group (local USA)
|
||||||
|
|
|
@ -554,9 +554,18 @@ else if (matchDomain('rheinpfalz.de')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain(['ruhrnachrichten.de', 'hellwegeranzeiger.de'])) {
|
else if (matchDomain(['ruhrnachrichten.de', 'hellwegeranzeiger.de'])) {
|
||||||
let paywall = document.querySelector('.PianoContent');
|
let url = window.location.href;
|
||||||
if (paywall)
|
if (!url.includes('?amp')) {
|
||||||
paywall.classList.remove('PianoContent');
|
let paywall = document.querySelector('.PianoContent');
|
||||||
|
if (paywall)
|
||||||
|
paywall.classList.remove('PianoContent');
|
||||||
|
} else {
|
||||||
|
let subscr_sections = document.querySelectorAll('section[subscriptions-section="content"]');
|
||||||
|
for (let subscr_section of subscr_sections)
|
||||||
|
subscr_section.removeAttribute('subscriptions-section');
|
||||||
|
let amp_ads = document.querySelectorAll('amp-ad');
|
||||||
|
removeDOMElement(...amp_ads);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('sueddeutsche.de')) {
|
else if (matchDomain('sueddeutsche.de')) {
|
||||||
|
|
|
@ -566,5 +566,5 @@
|
||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.3.9.2"
|
"version": "2.3.9.3"
|
||||||
}
|
}
|
Loading…
Reference in a new issue