mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +01:00
Add Westfälische Nachrichten (Germany)
This commit is contained in:
parent
af92ddffca
commit
9e61d023f0
6 changed files with 12 additions and 5 deletions
|
@ -366,7 +366,8 @@ Grouped in options:\
|
|||
[Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) -
|
||||
[Schweriner Volkszeitung](https://www.svz.de) -
|
||||
[Süddeutsche Zeitung](https://www.sueddeutsche.de) -
|
||||
[Westfalen-Blatt](https://www.westfalen-blatt.de)
|
||||
[Westfalen-Blatt](https://www.westfalen-blatt.de) -
|
||||
[Westfälische Nachrichten](https://www.wn.de)
|
||||
|
||||
Grouped in options:\
|
||||
*Funke Mediengruppe* sites like\
|
||||
|
|
|
@ -174,6 +174,7 @@ var allow_cookies_default = [
|
|||
'venturebeat.com',
|
||||
'washingtonpost.com',
|
||||
'westfalen-blatt.de',
|
||||
'wn.de',
|
||||
'worldpoliticsreview.com',
|
||||
'zeit.de',
|
||||
];
|
||||
|
@ -247,6 +248,7 @@ var use_google_bot_default = [
|
|||
'usinenouvelle.com',
|
||||
'westfalen-blatt.de',
|
||||
'wired.com',
|
||||
'wn.de',
|
||||
'worldpoliticsreview.com',
|
||||
'wsj.com',
|
||||
'zeit.de',
|
||||
|
@ -415,6 +417,7 @@ var blockedRegexes = {
|
|||
'venturebeat.com': /\.wallkit\.net\/js\//,
|
||||
'washingtonpost.com': /(\.washingtonpost\.com\/.+\/(default-article\/.+\/load_immediately|jqmodal)\/.+\.js|cdn\.ampproject\.org\/.+\/v\d\/amp-(access|(sticky-)?ad|subscriptions)-.+\.js)/,
|
||||
'westfalen-blatt.de': /cdn\.ampproject\.org\/.+\/v\d\/amp-(ad|subscriptions)-.+\.js/,
|
||||
'wn.de': /cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js/,
|
||||
'wsj.com': /(cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent|subscriptions)-.+\.js|cdn\.cxense\.com\/)/
|
||||
};
|
||||
|
||||
|
@ -1228,7 +1231,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||
let usa_today_site = (matchUrlDomain('gannett-cdn.com', details.url) && matchUrlDomain(['usatoday.com'], header_referer));
|
||||
allow_ext_source = allow_ext_source || inkl_site || cl_elmerc_site || es_elesp_site || it_repubblica_site || usa_law360_site || usa_mw_site || usa_natgeo_site || usa_today_site;
|
||||
|
||||
bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && matchUrlDomain(['aachener-zeitung.de', 'asiatimes.com', 'augsburger-allgemeine.de', 'barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elpais.com', 'elperiodico.com', 'freiepresse.de', 'handelsblatt.com', 'ilfattoquotidiano.it', 'inc42.com', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'marketwatch.com', 'nationalreview.com', 'noz.de', 'nwzonline.de', 'scmp.com', 'seekingalpha.com', 'shz.de', 'staradvertiser.com', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk', 'washingtonpost.com', 'westfalen-blatt.de', 'wsj.com'].concat(au_news_corp_domains, au_nine_domains, de_madsack_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_repubblica_domains, usa_mcc_domains, usa_mng_domains, usa_theathletic_domains), header_referer));
|
||||
bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && matchUrlDomain(['aachener-zeitung.de', 'asiatimes.com', 'augsburger-allgemeine.de', 'barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elpais.com', 'elperiodico.com', 'freiepresse.de', 'handelsblatt.com', 'ilfattoquotidiano.it', 'inc42.com', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'marketwatch.com', 'nationalreview.com', 'noz.de', 'nwzonline.de', 'scmp.com', 'seekingalpha.com', 'shz.de', 'staradvertiser.com', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk', 'washingtonpost.com', 'westfalen-blatt.de', 'wn.de', 'wsj.com'].concat(au_news_corp_domains, au_nine_domains, de_madsack_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_repubblica_domains, usa_mcc_domains, usa_mng_domains, usa_theathletic_domains), header_referer));
|
||||
}
|
||||
|
||||
if (!isSiteEnabled(details) && !allow_ext_source && !bpc_amp_site && !au_apn_site && !au_swm_site) {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Westfaelische Nachrichten (Germany)
|
||||
Fix Messaggero Veneto (GElocal)
|
||||
|
||||
* v2.3.9.0 (2021-10-10)
|
||||
|
|
|
@ -587,14 +587,14 @@ else if (matchDomain('sueddeutsche.de')) {
|
|||
}, 500); // Delay (in milliseconds)
|
||||
}
|
||||
|
||||
else if (matchDomain('westfalen-blatt.de')) {
|
||||
else if (matchDomain(['westfalen-blatt.de', 'wn.de'])) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('/amp/')) {
|
||||
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('section[class^="fp-ad"]');
|
||||
let amp_ads = document.querySelectorAll('amp-ad, section[class^="fp-ad"]');
|
||||
removeDOMElement(...amp_ads);
|
||||
}
|
||||
|
||||
|
|
|
@ -522,6 +522,7 @@
|
|||
"*://*.westernadvocate.com.au/*",
|
||||
"*://*.westfalen-blatt.de/*",
|
||||
"*://*.wired.com/*",
|
||||
"*://*.wn.de/*",
|
||||
"*://*.worldpoliticsreview.com/*",
|
||||
"*://*.wp.de/*",
|
||||
"*://*.wr.de/*",
|
||||
|
@ -565,5 +566,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.3.9.1"
|
||||
"version": "2.3.9.2"
|
||||
}
|
1
sites.js
1
sites.js
|
@ -298,6 +298,7 @@ var defaultSites =
|
|||
"Volkskrant": "volkskrant.nl",
|
||||
"WAtoday": "watoday.com.au",
|
||||
"Westfalen-Blatt": "westfalen-blatt.de",
|
||||
"Westfälische Nachrichten": "wn.de",
|
||||
"Winston-Salem Journal": "journalnow.com",
|
||||
"Wired": "wired.com",
|
||||
"World Politics Review": "worldpoliticsreview.com",
|
||||
|
|
Loading…
Reference in a new issue