Add Nw.de
parent
c1dc8ae307
commit
2a783e2c34
|
@ -512,6 +512,7 @@ Grouped in options:\
|
|||
[Krautreporter](https://krautreporter.de) -
|
||||
[Mitteldeutsche Zeitung](https://www.mz.de) -
|
||||
[Neue Osnabrücker Zeitung](https://www.noz.de) -
|
||||
[Neue Westfälische](https://www.nw.de) -
|
||||
[Nordwest Zeitung](https://www.nwzonline.de) -
|
||||
[Nürnberger Nachrichten](https://www.nn.de) -
|
||||
[Piqd.de](https://www.piqd.de) -
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add Nw.de
|
||||
Add Substack custom domains (opt-in to custom sites)
|
||||
Fix El Correo & La Voz de Cadiz
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ var usa_outside_mag_domains = ["backpacker.com", "betamtb.com", "betternutrition
|
|||
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
|
||||
// clean local storage of sites (with an exemption for hold-list)
|
||||
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'economictimes.com', 'freiepresse.de', 'ilfoglio.it', 'inc42.com', 'lanouvellerepublique.fr', 'lesechos.fr', 'mid-day.com', 'nytimes.com', 'nzherald.co.nz', 'scmp.com', 'seekingalpha.com', 'substack.com', 'telegraph.co.uk', 'theatlantic.com', 'thehindu.com', 'thetimes.co.uk', 'wsj.com'].concat(de_funke_medien_domains, de_westfalen_medien_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, usa_hearst_comm_domains);
|
||||
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'economictimes.com', 'freiepresse.de', 'ilfoglio.it', 'inc42.com', 'lanouvellerepublique.fr', 'lesechos.fr', 'mid-day.com', 'nw.de', 'nytimes.com', 'nzherald.co.nz', 'scmp.com', 'seekingalpha.com', 'substack.com', 'telegraph.co.uk', 'theatlantic.com', 'thehindu.com', 'thetimes.co.uk', 'wsj.com'].concat(de_funke_medien_domains, de_westfalen_medien_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, usa_hearst_comm_domains);
|
||||
if (!matchDomain(arr_localstorage_hold)) {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
|
@ -657,6 +657,19 @@ else if (matchDomain(['noz.de', 'nwzonline.de', 'shz.de', 'svz.de'])) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('nw.de')) {
|
||||
if (!window.location.pathname.endsWith('.amp.html')) {
|
||||
let paywall = document.querySelector('div[data-tracking-visible^="paywall-"]');
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
if (paywall && amphtml) {
|
||||
removeDOMElement(paywall);
|
||||
window.location.href = amphtml.href;
|
||||
}
|
||||
} else {
|
||||
amp_unhide_access_hide('="loggedIn AND hasAbo"', '', 'amp-ad, amp-embed, .banner');
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('rheinpfalz.de')) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('reduced=true')) {
|
||||
|
|
|
@ -43,5 +43,5 @@
|
|||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.8.0.2"
|
||||
"version": "2.8.0.3"
|
||||
}
|
||||
|
|
|
@ -434,6 +434,7 @@
|
|||
"*://*.nrpyrenees.fr/*",
|
||||
"*://*.nrz.de/*",
|
||||
"*://*.ntnews.com.au/*",
|
||||
"*://*.nw.de/*",
|
||||
"*://*.nwzonline.de/*",
|
||||
"*://*.nybooks.com/*",
|
||||
"*://*.nydailynews.com/*",
|
||||
|
@ -687,5 +688,5 @@
|
|||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.8.0.2"
|
||||
"version": "2.8.0.3"
|
||||
}
|
||||
|
|
7
sites.js
7
sites.js
|
@ -1250,6 +1250,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/
|
||||
},
|
||||
"Neue Westfälische": {
|
||||
domain: "nw.de",
|
||||
allow_cookies: 1,
|
||||
block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/
|
||||
},
|
||||
"Neue Zürcher Zeitung (+ regional/opt-in to custom sites)": {
|
||||
domain: "nzz.ch",
|
||||
allow_cookies: 1,
|
||||
|
@ -2173,4 +2178,4 @@ init_custom_domains();
|
|||
|
||||
// sites with no fix (background)
|
||||
var nl_dpg_media_nofix_domains = ['ad.nl', 'bd.nl', 'bndestem.nl', 'destentor.nl', 'ed.nl', 'gelderlander.nl', 'hln.be', 'pzc.nl', 'tubantia.nl'];
|
||||
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.dk', 'publico.pt', 'republic.ru', 'rp-online.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(nl_dpg_media_nofix_domains);
|
||||
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hln.be', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.dk', 'publico.pt', 'republic.ru', 'rp-online.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(nl_dpg_media_nofix_domains);
|
||||
|
|
|
@ -8,5 +8,18 @@
|
|||
"rm_elem": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"Neue Westfälische": {
|
||||
"domain": "nw.de",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js",
|
||||
"amp_redirect": "div[data-tracking-visible^=\"paywall-\"]",
|
||||
"amp_unhide": 1,
|
||||
"cs_code": [{
|
||||
"cond": "div.paywallOverlay",
|
||||
"rm_elem": 1
|
||||
}
|
||||
],
|
||||
"new_site": 1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue