Add FreiePresse.de
This commit is contained in:
parent
0971aaf411
commit
cf9a1bd9bc
@ -266,6 +266,7 @@ Groupe Rossel sites (grouped in options) like
|
||||
[Deutsche Wirtschafts Nachrichten](https://deutsche-wirtschafts-nachrichten.de) -
|
||||
[Die Zeit](https://www.zeit.de) -
|
||||
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
|
||||
[Freie Presse](https://www.freiepresse.de) -
|
||||
[Handelsblatt](https://www.handelsblatt.com) -
|
||||
[Krautreporter.de](https://krautreporter.de) -
|
||||
[Kurier.at](https://kurier.at) -
|
||||
|
@ -55,6 +55,7 @@ var allow_cookies_default = [
|
||||
'folha.uol.com.br',
|
||||
'ftm.nl',
|
||||
'fortune.com',
|
||||
'freiepresse.de',
|
||||
'gelocal.it',
|
||||
'gestion.pe',
|
||||
'gva.be',
|
||||
@ -216,6 +217,7 @@ var blockedRegexes = {
|
||||
'foreignaffairs.com': /.+\.foreignaffairs\.com\/sites\/default\/files\/js\/js_[^y].+\.js/,
|
||||
'foreignpolicy.com': /cdn\.tinypass\.com\/.+/,
|
||||
'fortune.com': /cdn\.tinypass\.com\/.+/,
|
||||
'freiepresse.de': /cdn\.ampproject\.org\/v\d\/amp-(access|consent)-.+\.js/,
|
||||
'fresnobee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'ftm.nl': /.+\.ftm\.nl\/js\/routing\?/,
|
||||
'gelocal.it': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add FreiePresse.de
|
||||
Add L'Obs (France)
|
||||
Add Paris Match (France)
|
||||
Fix-update El Mercurio (Chile)
|
||||
|
@ -1862,6 +1862,20 @@ else if (matchDomain('nouvelobs.com')) {
|
||||
removeDOMElement(paywall);
|
||||
}
|
||||
|
||||
else if (matchDomain('freiepresse.de')) {
|
||||
let url = window.location.href;
|
||||
let article_teaser = document.querySelector('div.article-teaser');
|
||||
if (article_teaser && url.match(/(\-artikel)(\d){6,}/)) {
|
||||
window.setTimeout(function () {
|
||||
window.location.href = url.replace('-artikel', '-amp');
|
||||
}, 500); // Delay (in milliseconds)
|
||||
} else if (url.match(/(\-amp)(\d){6,}/)) {
|
||||
let amp_ads = document.querySelectorAll('amp-fx-flying-carpet, amp-ad, amp-embed');
|
||||
let pw_layer = document.querySelector('.pw-layer');
|
||||
removeDOMElement(...amp_ads, pw_layer);
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
csDone = true;
|
||||
|
||||
|
@ -129,6 +129,7 @@
|
||||
"*://*.foreignpolicy.com/*",
|
||||
"*://*.fortune.com/*",
|
||||
"*://*.frasercoastchronicle.com.au/*",
|
||||
"*://*.freiepresse.de/*",
|
||||
"*://*.fresnobee.com/*",
|
||||
"*://*.ft.com/*",
|
||||
"*://*.ftm.nl/*",
|
||||
|
1
sites.js
1
sites.js
@ -66,6 +66,7 @@ var defaultSites =
|
||||
"Foreign Policy": "foreignpolicy.com",
|
||||
"Fortune": "fortune.com",
|
||||
"Frankfurter Allgemeine Zeitung": "faz.net",
|
||||
"Freie Presse": "freiepresse.de",
|
||||
"Funke Mediengruppe": "###_de_funke_medien",
|
||||
"Gazet van Antwerpen": "gva.be",
|
||||
"GElocal.it": "gelocal.it",
|
||||
|
Loading…
x
Reference in New Issue
Block a user