mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:17:47 +01:00
Remove Rheinische Post Mediengruppe (obsolete)
This commit is contained in:
parent
11c8d1d022
commit
0906ef8dc3
6 changed files with 5 additions and 54 deletions
|
@ -330,14 +330,7 @@ Madsack Mediengruppe sites like
|
|||
[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)\
|
||||
Rheinische Post Mediengruppe like
|
||||
[Aachener Nachrichten](https://www.aachener-nachrichten.de) -
|
||||
[Aachener Zeitung](https://www.aachener-zeitung.de) -
|
||||
[General-Anzeiger Bonn](https://ga.de) -
|
||||
[Rheinische Post](https://rp-online.de) -
|
||||
[Saarbrücker Zeitung](http://www.saarbruecker-zeitung.de) -
|
||||
[Trierischer Volksfreund](http://www.volksfreund.de)
|
||||
[Ostsee-Zeitung](https://www.ostsee-zeitung.de)
|
||||
|
||||
##### Italy
|
||||
[Corriere Della Sera](https://www.corriere.it) -
|
||||
|
|
|
@ -423,7 +423,6 @@ var grouped_sites = {
|
|||
'###_ca_torstar': ca_torstar_domains,
|
||||
'###_de_funke_medien': de_funke_media_domains,
|
||||
'###_de_madsack': de_madsack_domains,
|
||||
'###_de_rp_medien': de_rp_medien_domains,
|
||||
'###_es_grupo_vocento': es_grupo_vocento_domains,
|
||||
'###_fi_alma_talent': fi_alma_talent_domains,
|
||||
'###_fr_be_groupe_rossel': fr_be_groupe_rossel_domains,
|
||||
|
@ -481,10 +480,6 @@ function add_grouped_sites(init_rules) {
|
|||
allow_cookies.push(domain);
|
||||
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js/;
|
||||
}
|
||||
for (let domain of de_rp_medien_domains) {
|
||||
allow_cookies.push(domain);
|
||||
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|fx-flying-carpet|subscriptions)-.+\.js/;
|
||||
}
|
||||
for (let domain of es_grupo_vocento_domains) {
|
||||
allow_cookies.push(domain);
|
||||
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(access|ad|subscriptions)-.+\.js/;
|
||||
|
@ -995,7 +990,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||
let usa_mw_site = (matchUrlDomain('wsj.net', details.url) && matchUrlDomain('marketwatch.com', header_referer));
|
||||
allow_ext_source = allow_ext_source || inkl_site || cl_elmerc_site || es_elesp_site || it_repubblica_site || uk_nlr_site || usa_discmag_site || usa_mw_site;
|
||||
|
||||
bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && matchUrlDomain(['augsburger-allgemeine.de', 'barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elmundo.es', 'elpais.com', 'elperiodico.com', 'expansion.com', 'freiepresse.de', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'lne.es', 'marketwatch.com', 'nationalreview.com', 'noz.de', 'nwzonline.de', 'seekingalpha.com', 'shz.de', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk'].concat(au_news_corp_domains, au_nine_domains, de_madsack_domains, de_rp_medien_domains, es_grupo_vocento_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_repubblica_domains, usa_mcc_domains), header_referer));
|
||||
bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && matchUrlDomain(['augsburger-allgemeine.de', 'barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elmundo.es', 'elpais.com', 'elperiodico.com', 'expansion.com', 'freiepresse.de', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'lne.es', 'marketwatch.com', 'nationalreview.com', 'noz.de', 'nwzonline.de', 'seekingalpha.com', 'shz.de', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk'].concat(au_news_corp_domains, au_nine_domains, de_madsack_domains, es_grupo_vocento_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_repubblica_domains, usa_mcc_domains), header_referer));
|
||||
}
|
||||
|
||||
if (!isSiteEnabled(details) && !allow_ext_source && !bpc_amp_site && !au_apn_site && !au_swm_site) {
|
||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
|
||||
Post-release
|
||||
Add L'Express (France)
|
||||
Remove Rheinische Post Mediengruppe (obsolete)
|
||||
Fix-update NyTeknik (images)
|
||||
Fix-update Repubblica.it
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ var noMatch = false;
|
|||
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_rp_medien_domains = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'ga.de', 'rp-online.de', 'saarbruecker-zeitung.de', 'volksfreund.de'];
|
||||
var es_epiberica_domains = ['diariodeibiza.es', 'diariodemallorca.es', 'farodevigo.es', 'laprovincia.es'];
|
||||
var es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcomercio.es', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'ideal.es', 'larioja.com', 'laverdad.es', 'lavozdigital.es'];
|
||||
var fr_groupe_ebra_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
|
||||
|
@ -343,35 +342,6 @@ else if (domain = matchDomain(de_madsack_domains)) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(de_rp_medien_domains)) {
|
||||
let url = window.location.href;
|
||||
let paywall_article = document.querySelector('article.park-article--reduced [class^="park-icon-"]');
|
||||
if (url.includes('?output=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('amp-ad, amp-embed, amp-fx-flying-carpet');
|
||||
removeDOMElement(...amp_ads);
|
||||
} else {
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
if (paywall_article) {
|
||||
if (amphtml) {
|
||||
removeDOMElement(paywall_article);
|
||||
window.location.href = amphtml.href;
|
||||
} else {
|
||||
let headline = document.querySelector('span.park-article__headline');
|
||||
let bpc_amp_div = headline.querySelector('#bpc_amp');
|
||||
if (!bpc_amp_div) {
|
||||
let bpc_amp = document.createElement('div');
|
||||
bpc_amp.id = 'bpc_amp';
|
||||
bpc_amp.appendChild(document.createTextNode('-> bpc: no amp-bypass ...'));
|
||||
headline.appendChild(bpc_amp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('deutsche-wirtschafts-nachrichten.de')) {
|
||||
window.setTimeout(function () {
|
||||
let hardpay = document.querySelector('.hardpay');
|
||||
|
|
|
@ -43,8 +43,6 @@
|
|||
"tabs",
|
||||
"webRequest",
|
||||
"webRequestBlocking",
|
||||
"*://*.aachener-nachrichten.de/*",
|
||||
"*://*.aachener-zeitung.de/*",
|
||||
"*://*.abc.es/*",
|
||||
"*://*.abendblatt.de/*",
|
||||
"*://*.ad.nl/*",
|
||||
|
@ -171,7 +169,6 @@
|
|||
"*://*.fresnobee.com/*",
|
||||
"*://*.ft.com/*",
|
||||
"*://*.ftm.nl/*",
|
||||
"*://*.ga.de/*",
|
||||
"*://*.geelongadvertiser.com.au/*",
|
||||
"*://*.gelderlander.nl/*",
|
||||
"*://*.gelocal.it/*",
|
||||
|
@ -358,9 +355,7 @@
|
|||
"*://*.rhein-zeitung.de/*",
|
||||
"*://*.rheinpfalz.de/*",
|
||||
"*://*.rollingstone.com/*",
|
||||
"*://*.rp-online.de/*",
|
||||
"*://*.ruhrnachrichten.de/*",
|
||||
"*://*.saarbruecker-zeitung.de/*",
|
||||
"*://*.sacbee.com/*",
|
||||
"*://*.saechsische.de/*",
|
||||
"*://*.sandiegouniontribune.com/*",
|
||||
|
@ -448,7 +443,6 @@
|
|||
"*://*.variety.com/*",
|
||||
"*://*.velonews.com/*",
|
||||
"*://*.venturebeat.com/*",
|
||||
"*://*.volksfreund.de/*",
|
||||
"*://*.volkskrant.nl/*",
|
||||
"*://*.vosgesmatin.fr/*",
|
||||
"*://*.vulture.com/*",
|
||||
|
@ -504,5 +498,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.1.7.3"
|
||||
"version": "2.1.7.4"
|
||||
}
|
4
sites.js
4
sites.js
|
@ -195,7 +195,6 @@ var defaultSites =
|
|||
"Política Exterior": "politicaexterior.com",
|
||||
"Prospect Magazine": "prospectmagazine.co.uk",
|
||||
"Rhein-Zeitung": "rhein-zeitung.de",
|
||||
"Rheinische Post Mediengruppe (only plus if amp)": "###_de_rp_medien",
|
||||
"Quartz (free articles only)": "qz.com",
|
||||
"Quora": "quora.com",
|
||||
"Quotidiano.net": "quotidiano.net",
|
||||
|
@ -312,7 +311,6 @@ const au_prov_news_domains = ['news-mail.com.au', 'frasercoastchronicle.com.au',
|
|||
const ca_torstar_domains = ['niagarafallsreview.ca', 'stcatharinesstandard.ca', 'thepeterboroughexaminer.com', 'therecord.com', 'thespec.com', 'thestar.com', 'wellandtribune.ca'];
|
||||
const 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'];
|
||||
const de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de'];
|
||||
const de_rp_medien_domains = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'ga.de', 'rp-online.de', 'saarbruecker-zeitung.de', 'volksfreund.de'];
|
||||
const es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcomercio.es', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'ideal.es', 'larioja.com', 'laverdad.es', 'lavozdigital.es'];
|
||||
const fi_alma_talent_domains = ['arvopaperi.fi', 'kauppalehti.fi', 'marmai.fi', 'mediuutiset.fi', 'mikrobitti.fi', 'talouselama.fi', 'tekniikkatalous.fi', 'tivi.fi', 'uusisuomi.fi'];
|
||||
const fr_be_groupe_rossel_domains = ['aisnenouvelle.fr', 'courrier-picard.fr', 'lardennais.fr', 'lavoixdunord.fr', 'lecho.be', 'lesoir.be', 'lest-eclair.fr', 'liberation-champagne.fr', 'lunion.fr', 'nordeclair.fr', 'paris-normandie.fr', 'sudinfo.be'];
|
||||
|
@ -325,4 +323,4 @@ const usa_nymag_domains = ['curbed.com', 'grubstreet.com', 'nymag.com', 'thecut.
|
|||
const usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
|
||||
var defaultSites_grouped_domains = Object.values(defaultSites);
|
||||
var defaultSites_domains = defaultSites_grouped_domains.concat(au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, ca_torstar_domains, de_funke_media_domains, de_madsack_domains, de_rp_medien_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, nl_ad_region_domains, usa_mcc_domains, usa_nymag_domains, usa_tribune_domains);
|
||||
var defaultSites_domains = defaultSites_grouped_domains.concat(au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, ca_torstar_domains, de_funke_media_domains, de_madsack_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, nl_ad_region_domains, usa_mcc_domains, usa_nymag_domains, usa_tribune_domains);
|
||||
|
|
Loading…
Reference in a new issue