Add RedaktionsNetzwerk Deutschland

This commit is contained in:
magnolia1234 2022-03-31 18:10:47 +02:00
parent 4c6d364e1a
commit 698dab3809
6 changed files with 11 additions and 6 deletions

View file

@ -492,7 +492,9 @@ Grouped in options:\
[Lübecker Nachrichten](https://www.ln-online.de) -
[Märkische Allgemeine](https://www.maz-online.de) -
[Neue Presse (Hannover)](https://www.neuepresse.de) -
[Ostsee-Zeitung](https://www.ostsee-zeitung.de)
[Ostsee-Zeitung](https://www.ostsee-zeitung.de) -
[RedaktionsNetzwerk Deutschland](https://www.rnd.de)
##### Italy
[Corriere della Sera](https://www.corriere.it) -

View file

@ -775,7 +775,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
else {
// block script for additional Madsack/RND sites (opt-in to custom sites)
var de_madsack_domains = grouped_sites['###_de_madsack'];
var de_rnd_domain = (matchUrlDomain('rndtech.de', details.url) && ['script'].includes(details.type) && !matchUrlDomain(de_madsack_domains.concat(['madsack.de', 'madsack-medien-campus.de', 'rnd.de']), header_referer) && enabledSites.includes('###_de_madsack'));
var de_rnd_domain = (((matchUrlDomain('rndtech.de', details.url) && ['script'].includes(details.type)) || (details.url.includes('.images.arcpublishing.com/madsack/') && ['image'].includes(details.type))) && !matchUrlDomain(de_madsack_domains.concat(['madsack.de', 'madsack-medien-campus.de']), header_referer) && enabledSites.includes('###_de_madsack'));
if (de_rnd_domain)
de_madsack_domains = customAddRules(de_madsack_domains, true, blockedRegexes['haz.de']);
}

View file

@ -5,6 +5,7 @@ Post-release
Add Diario Cordoba
Add La Opinion A Coruna
Add La Opinion de Zamora
Add RedaktionsNetzwerk Deutschland
Fix Alma Talent sites (js-ads)
Fix Australia News Corp (amp)
Fix Madsack Mediengruppe

View file

@ -7,7 +7,7 @@ var dompurify_loaded = (typeof DOMPurify === 'function');
var ca_torstar_domains = ['niagarafallsreview.ca', 'stcatharinesstandard.ca', 'thepeterboroughexaminer.com', 'therecord.com', 'thespec.com', 'thestar.com', 'wellandtribune.ca'];
var de_funke_media_domains = ['abendblatt.de', 'braunschweiger-zeitung.de', 'morgenpost.de', 'nrz.de', 'otz.de', 'thueringer-allgemeine.de', 'tlz.de', 'waz.de', 'wp.de', 'wr.de'];
var de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de'];
var de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de', 'rnd.de'];
var es_epiberica_domains = ['diariocordoba.com', 'diariodeibiza.es', 'diariodemallorca.es', 'eldia.es', 'elperiodicomediterraneo.com', 'farodevigo.es', 'informacion.es', 'laopinioncoruna.es', 'laopiniondemalaga.es', 'laopiniondemurcia.es', 'laopiniondezamora.es', 'laprovincia.es', 'levante-emv.com', 'lne.es'];
var es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcomercio.es', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'ideal.es', 'larioja.com', 'lasprovincias.es', 'laverdad.es', 'lavozdigital.es'];
var es_unidad_domains = ['elmundo.es', 'expansion.com', 'marca.com'];
@ -720,7 +720,7 @@ else if (matchDomain(['westfalen-blatt.de', 'wn.de', 'muensterschezeitung.de']))
}
}
else if (matchDomain(de_madsack_domains) || document.querySelector('link[rel="preload"][href="https://static.rndtech.de/cmp/1.x.x.js"]') || document.querySelector('a.pdb-footer-meta-items-item-link[href="http://www.madsack.de/"]')) {
else if (matchDomain(de_madsack_domains) || document.querySelector('link[rel="preload"][href="https://static.rndtech.de/cmp/1.x.x.js"]') || document.querySelector('li > a[href*="//www.madsack.de/"]')) {
if (!(window.location.pathname.startsWith('/amp/') || window.location.search.startsWith('?outputType=valid_amp'))) {
let paidcontent_intro = document.querySelector('div.pdb-article-body-paidcontentintro');
if (paidcontent_intro) {

View file

@ -475,6 +475,7 @@
"*://*.rhein-zeitung.de/*",
"*://*.rheinpfalz.de/*",
"*://*.richmond.com/*",
"*://*.rnd.de/*",
"*://*.roadandtrack.com/*",
"*://*.rollingstone.com/*",
"*://*.rugbypass.com/*",
@ -666,5 +667,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.6.2.3"
"version": "2.6.2.4"
}

View file

@ -1059,7 +1059,8 @@ var defaultSites = {
"lvz.de",
"maz-online.de",
"neuepresse.de",
"ostsee-zeitung.de"
"ostsee-zeitung.de",
"rnd.de"
],
allow_cookies: 1,
block_regex: /(\.tinypass\.com\/|\.piano\.io\/|cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js)/