Add AllgaeuerZeitung.de

master
magnolia1234 2021-12-18 12:32:56 +01:00
parent c86a55b18b
commit 5f47762bc7
7 changed files with 42 additions and 11 deletions

View File

@ -395,6 +395,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) -

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Chrome
Post-release
Add Allgaeuer-Zeitung.de
Add Lequipe.fr
Add LaLibre.be
Add LeVif.be
@ -123,7 +124,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)
@ -135,7 +136,7 @@ Fix Telerama.fr (mobile)
Fix VeloNews
* 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
@ -358,7 +359,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)
@ -367,7 +368,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
@ -393,7 +394,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
@ -422,7 +423,7 @@ Fix popup (update notification; GitLab CORS issue)
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
@ -467,7 +468,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)
@ -477,7 +478,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)

View File

@ -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')) {

View File

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.4.7.5"
"version": "2.4.7.6"
}

View File

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

View File

@ -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-((sticky-)?ad|subscriptions)-.+\.js)/
},
"Alma Talent (Finland)": {
domain: "###_fi_alma_talent",
group: [

View File

@ -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,