mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Add Berliner Zeitung (Germany)
This commit is contained in:
parent
9ab15bea19
commit
adc49efef5
@ -281,6 +281,7 @@ Groupe Rossel sites (grouped in options) like
|
||||
|
||||
##### Germany/Austria
|
||||
[Augsburger Allgemeine](https://www.augsburger-allgemeine.de) -
|
||||
[Berliner Zeitung](https://www.berliner-zeitung.de) -
|
||||
[Cicero](https://www.cicero.de) -
|
||||
[Deutsche Wirtschafts Nachrichten](https://deutsche-wirtschafts-nachrichten.de) -
|
||||
[Die Rheinpfalz](https://www.rheinpfalz.de) -
|
||||
|
@ -37,6 +37,7 @@ var allow_cookies_default = [
|
||||
'atlantico.fr',
|
||||
'augsburger-allgemeine.de',
|
||||
'belfasttelegraph.co.uk',
|
||||
'berliner-zeitung.de',
|
||||
'berlingske.dk',
|
||||
'bostonglobe.com',
|
||||
'business-standard.com',
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Berliner Zeitung (Germany)
|
||||
Add Entrepreneur
|
||||
Fix-update The Saturday Paper
|
||||
|
||||
|
@ -2225,6 +2225,28 @@ else if (matchDomain('rheinpfalz.de')) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('berliner-zeitung.de')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('.paywall-dialog-box');
|
||||
if (url.split('?')[0].includes('.amp')) {
|
||||
if (paywall) {
|
||||
let preview = document.querySelector('section[subscriptions-section="content-not-granted"]');
|
||||
removeDOMElement(paywall, preview);
|
||||
let subscr_section = document.querySelector('section[subscriptions-section="content"]');
|
||||
if (subscr_section) {
|
||||
subscr_section.removeAttribute('subscriptions-section');
|
||||
let amp_ads = document.querySelectorAll('amp-ad');
|
||||
removeDOMElement(...amp_ads);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
window.location.href = url.split('?')[0] + '.amp';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
|
||||
csDone = true;
|
||||
|
||||
|
@ -65,6 +65,7 @@
|
||||
"*://*.bd.nl/*",
|
||||
"*://*.belfasttelegraph.co.uk/*",
|
||||
"*://*.bendigoadvertiser.com.au/*",
|
||||
"*://*.berliner-zeitung.de/*",
|
||||
"*://*.berlingske.dk/*",
|
||||
"*://*.bienpublic.com/*",
|
||||
"*://*.bizjournals.com/*",
|
||||
@ -490,5 +491,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.1.2.2"
|
||||
"version": "2.1.2.3"
|
||||
}
|
1
sites.js
1
sites.js
@ -17,6 +17,7 @@ var defaultSites =
|
||||
"Barron's": "barrons.com",
|
||||
"BBC History Extra": "historyextra.com",
|
||||
"Belfast Telegraph (opt-in)": "belfasttelegraph.co.uk",
|
||||
"Berliner Zeitung": "berliner-zeitung.de",
|
||||
"Berlingske": "berlingske.dk",
|
||||
"Bloomberg": "bloomberg.com",
|
||||
"Bloomberg Quint (free articles only)": "bloombergquint.com",
|
||||
|
Loading…
Reference in New Issue
Block a user