Add AllgaeuerZeitung.de

merge-requests/3/head
magnolia1234 3 years ago
parent 4e99442f64
commit 8da52f3c9c

@ -373,6 +373,7 @@ Grouped in options:\
##### Germany/Austria
[Aachener Zeitung](https://www.aachener-zeitung.de) -
[Allgäuer Zeitung](https://www.allgaeuer-zeitung.de) -
[Augsburger Allgemeine](https://www.augsburger-allgemeine.de) -
[Berliner Zeitung](https://www.berliner-zeitung.de) -
[Cicero](https://www.cicero.de) -

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Allgaeuer-Zeitung.de
Add Lequipe.fr
Add LaLibre.be
Add LeVif.be
@ -124,7 +125,7 @@ Update block general paywall script (AzureEdge)
* v2.3.8.0 (2021-10-03)
Add NordLittoral.fr (Groupe Rossel)
Add Westfalen-Blatt (Germany)
Add Westfalen-Blatt.de
Remove Gazet van Antwerpen (obsolete)
Remove Republic.ru (obsolete)
Fix Bloomberg (blur)
@ -137,7 +138,7 @@ Fix VeloNews
Update daily users counter (amo)
* v2.3.7.0 (2021-09-26)
Add Aachener Zeitung (Germany)
Add Aachener-Zeitung.de
Add Grupo Prensa Iberica (Spain)
Add Tampa Bay Times (local USA)
Add Telerama.fr
@ -360,7 +361,7 @@ Fix Mexico News Daily
Update options: restore opt-in for custom sites (on reload; Chrome-only)
* v2.1.4.0 (2021-03-28)
Add Aachener Zeitung (Germany)
Add Aachener-Zeitung.de (RP-medien)
Add Apollo Magazine
Add NK News (not pro)
Add Nordwest Zeitung (Germany)
@ -369,7 +370,7 @@ Fix Wired (Googlebot)
Fix WSJ (option to disable Googlebot; http error 500)
* v2.1.3.0 (2021-03-21)
Add Berliner Zeitung (Germany)
Add Berliner-Zeitung.de
Add The Dallas Morning News (local USA)
Add Entrepreneur
Fix The Saturday Paper
@ -397,7 +398,7 @@ Fix New Left Review
Add Die Rheinpfalz (Germany)
Add Gannett Group (local USA Today; opt-in to custom sites)
Add New York Daily News (local USA)
Add Rhein-Zeitung (Germany)
Add Rhein-Zeitung.de
Add The Virginian-Pilot (local USA)
Add VentureBeat
Fix El Periodico de Catalunya
@ -423,7 +424,7 @@ Update incognito window (Chrome-only split mode)
Update limit contentScript (add image/sub_frame)
* v2.0.8.0 (2021-02-14)
Add Augsburger Allgemeine (Germany)
Add Augsburger-Allgemeine.de
Add group McClatchy (USA)
Add Neue Osnabruecker Zeitung (Germany)
Add Time Magazine
@ -468,7 +469,7 @@ Add elDiario.es (Spain)
Add La Nueva Espana (Spain)
Add Observador (Portugal)
Add Prospect Magazine (United Kingdom)
Add Ruhr Nachrichten (Germany)
Add RuhrNachrichten.de
Add The Point Magazine
Fix El Pais (Spain)
Fix Helsingin Sanomat (Finland)
@ -478,7 +479,7 @@ Update block TinyPass (all subdomains)
Update excluded sites (no general block paywall scripts)
* v2.0.4.0 (2021-01-17)
Add Cicero (Germany)
Add Cicero.de
Add Il Secolo XIX (Italy)
Add L'Usine Nouvelle (France)
Add La Nuova Sardegna (Italy)

@ -28,7 +28,7 @@ var usa_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com'
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 = ['augsburger-allgemeine.de', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'expressnews.com', 'fortune.com', 'houstonchronicle.com', 'inc42.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, no_nhst_media_domains);
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'expressnews.com', 'fortune.com', 'houstonchronicle.com', 'inc42.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, no_nhst_media_domains);
if (!matchDomain(arr_localstorage_hold)) {
window.localStorage.clear();
}
@ -350,6 +350,21 @@ if (matchDomain('aachener-zeitung.de')) {
}
}
else if (matchDomain('allgaeuer-zeitung.de')) {
let url = window.location.href;
if (!url.includes('?type=amp')) {
let paywall = document.querySelector('p.nfy-text-blur');
if (paywall) {
removeDOMElement(paywall);
window.location.href = url.split('?')[0] + '?type=amp';
}
} else {
let preview = document.querySelectorAll('p.nfy-text-blur, div[subscriptions-display^="NOT data."]');
let amp_ads = document.querySelectorAll('amp-ad');
removeDOMElement(...preview, ...amp_ads);
}
}
else if (matchDomain('augsburger-allgemeine.de')) {
let url = window.location.href;
if (!url.includes('-amp.html')) {

@ -66,6 +66,7 @@
"*://*.aisnenouvelle.fr/*",
"*://*.ajc.com/*",
"*://*.al.com/*",
"*://*.allgaeuer-zeitung.de/*",
"*://*.alternatives-economiques.fr/*",
"*://*.ambito.com/*",
"*://*.americanaffairsjournal.org/*",
@ -592,5 +593,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.4.7.5"
"version": "2.4.7.6"
}

@ -48,6 +48,11 @@ var defaultSites = {
],
remove_cookies_select_drop: ["temptationTrackingId"]
},
"Allgäuer Zeitung": {
domain: "allgaeuer-zeitung.de",
allow_cookies: 1,
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js)/
},
"Alma Talent (Finland)": {
domain: "###_fi_alma_talent",
group: [

@ -1,4 +1,12 @@
{
"Allgäuer Zeitung": {
"domain": "allgaeuer-zeitung.de",
"allow_cookies": 1,
"amp_redirect": {
"paywall": "p.nfy-text-blur"
},
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)"
},
"La Libre.be": {
"domain": "lalibre.be",
"allow_cookies": 1,

Loading…
Cancel
Save