mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Add Aachener Nachrichten & Zeitung
This commit is contained in:
parent
845766494d
commit
1a8922e261
@ -477,6 +477,8 @@ Grouped in options:\
|
||||
[Sud Ouest](https://www.sudouest.fr)
|
||||
|
||||
##### Germany/Austria
|
||||
[Aachener Nachrichten](https://www.aachener-nachrichten.de) -
|
||||
[Aachener Zeitung](https://www.aachener-zeitung.de) -
|
||||
[Allgäuer Zeitung](https://www.allgaeuer-zeitung.de) -
|
||||
[Augsburger Allgemeine](https://www.augsburger-allgemeine.de) -
|
||||
[Automobilwoche](https://www.automobilwoche.de) -
|
||||
|
@ -6,7 +6,7 @@ var ext_name = manifestData.name;
|
||||
var ext_version = manifestData.version;
|
||||
|
||||
const cs_limit_except = ['elespanol.com', 'faz.net', 'nation.africa', 'nationalgeographic.com', 'thetimes.co.uk'].concat(de_westfalen_medien_domains);
|
||||
const dompurify_sites = ['asiatimes.com', 'bloomberg.com', 'cicero.de', 'golem.de', 'hs.fi', 'ilmanifesto.it', 'iltalehti.fi', 'iltirreno.it', 'ipolitics.ca', 'italiaoggi.it', 'lanuovasardegna.it', 'lesechos.fr', 'limburger.nl', 'marianne.net', 'newleftreview.org', 'nzherald.co.nz', 'outlookbusiness.com', 'prospectmagazine.co.uk', 'spiegel.de', 'stratfor.com', 'tagesspiegel.de', 'techinasia.com', 'thetimes.co.uk', 'timesofindia.com', 'vn.nl', 'welt.de', 'wiwo.de'].concat(be_mediahuis_domains, nl_mediahuis_region_domains, no_nhst_media_domains);
|
||||
const dompurify_sites = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'asiatimes.com', 'bloomberg.com', 'cicero.de', 'golem.de', 'hs.fi', 'ilmanifesto.it', 'iltalehti.fi', 'iltirreno.it', 'ipolitics.ca', 'italiaoggi.it', 'lanuovasardegna.it', 'lesechos.fr', 'limburger.nl', 'marianne.net', 'newleftreview.org', 'nzherald.co.nz', 'outlookbusiness.com', 'prospectmagazine.co.uk', 'spiegel.de', 'stratfor.com', 'tagesspiegel.de', 'techinasia.com', 'thetimes.co.uk', 'timesofindia.com', 'vn.nl', 'welt.de', 'wiwo.de'].concat(be_mediahuis_domains, nl_mediahuis_region_domains, no_nhst_media_domains);
|
||||
var currentTabUrl = '';
|
||||
var csDone = false;
|
||||
var optin_setcookie = false;
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Aachener Nachrichten &Zeitung
|
||||
Remove World Politics Review (fix obsolete)
|
||||
|
||||
* v2.7.9.0 (2022-08-07)
|
||||
@ -331,7 +332,7 @@ Fix The New Yorker (update)
|
||||
* v2.5.2.0 (2022-01-16)
|
||||
Add Mainichi Shimbun (Japan)
|
||||
Add TownNews sites (local USA; opt-in to custom sites)
|
||||
Remove Aachener Nachrichten/Zeitung (fix obsolete)
|
||||
Remove Aachener Nachrichten & Zeitung (fix obsolete)
|
||||
Remove De Tijd & L'Echo (fix obsolete)
|
||||
Fix Bloomberg (quotes)
|
||||
Fix McClatchy Group (amp-redirect & disable)
|
||||
|
@ -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 = ['abc.es', 'allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', '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', '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 = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'abc.es', 'allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', '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', '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();
|
||||
}
|
||||
@ -443,7 +443,18 @@ else {
|
||||
|
||||
} else if (window.location.hostname.match(/\.(de|at|ch)$/) || matchDomain(['faz.net'])) {//germany/austria/switzerland - ch
|
||||
|
||||
if (matchDomain('allgaeuer-zeitung.de')) {
|
||||
if (matchDomain(['aachener-nachrichten.de', 'aachener-zeitung.de'])) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelectorAll('div.park-article-content > p.text-blurred');
|
||||
if (paywall.length) {
|
||||
removeDOMElement(...paywall);
|
||||
csDoneOnce = true;
|
||||
let url_cache = 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0];
|
||||
replaceDomElementExt(url_cache, true, false, 'div.park-article__body');
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('allgaeuer-zeitung.de')) {
|
||||
let url = window.location.href;
|
||||
if (!url.includes('?type=amp')) {
|
||||
let paywall = document.querySelector('p.nfy-text-blur');
|
||||
|
@ -57,6 +57,8 @@
|
||||
"webRequest",
|
||||
"webRequestBlocking",
|
||||
"*://*.360dx.com/*",
|
||||
"*://*.aachener-nachrichten.de/*",
|
||||
"*://*.aachener-zeitung.de/*",
|
||||
"*://*.aamulehti.fi/*",
|
||||
"*://*.abc.es/*",
|
||||
"*://*.abendblatt.de/*",
|
||||
@ -702,5 +704,5 @@
|
||||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.9.0"
|
||||
"version": "2.7.9.1"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user