Add Tiroler Tageszeitung

This commit is contained in:
magnolia1234 2023-11-23 12:20:31 +01:00
parent dcdb84ce99
commit c88dacff57
7 changed files with 27 additions and 4 deletions

View file

@ -619,6 +619,7 @@ Grouped in options:\
[Schwäbische Zeitung](https://www.schwaebische.de) -
[Springer Medizin](https://www.springermedizin.de) -
[Süddeutsche Zeitung (link to archive.is)](https://www.sueddeutsche.de) -
[Tiroler Tageszeitung](https://www.tt.com) -
[Volksstimme](https://www.volksstimme.de) -
[Vorarlberg Nachrichten](https://www.vn.at) -
[Vorarlberg Online](https://www.vol.at) -

View file

@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add Tagesspiegel.de (link to archive.is)
Add Tiroler Tageszeitung
Fix Groupe Nice-Matin (css)
Fix The Hill Times (ld_json_url)
Update popup (fix toggle for custom flex sites)

View file

@ -50,7 +50,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 = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'columbian.com', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'digiday.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'indiatoday.in', 'inews.co.uk', 'janes.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'techinasia.com', 'telegraph.co.uk', 'tes.com', 'the-tls.co.uk', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'theweek.com', 'tuttosport.com', 'uol.com.br', 'vol.at', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, ca_torstar_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'columbian.com', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'digiday.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'indiatoday.in', 'inews.co.uk', 'janes.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'techinasia.com', 'telegraph.co.uk', 'tes.com', 'the-tls.co.uk', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'theweek.com', 'tt.com', 'tuttosport.com', 'uol.com.br', 'vol.at', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, ca_torstar_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
if (!matchDomain(arr_localstorage_hold)) {
window.localStorage.clear();
}
@ -584,7 +584,7 @@ else {
csDone = true;
}
} else if (window.location.hostname.match(/\.(de|at|ch)$/) || matchDomain(['faz.net', 'topagrar.com', 'wochenblatt.com'])) {//germany/austria/switzerland - ch
} else if (window.location.hostname.match(/\.(de|at|ch)$/) || matchDomain(['faz.net', 'topagrar.com', 'tt.com', 'wochenblatt.com'])) {//germany/austria/switzerland - ch
if (matchDomain('aerztezeitung.de')) {
let paywall = document.querySelector('div.AZLoginModule');
@ -1189,6 +1189,14 @@ else if (matchDomain('tagesspiegel.de')) {
}
}
else if (matchDomain('tt.com')) {
let div_hidden = document.querySelectorAll('.exclusive-elem');
for (let elem of div_hidden)
elem.classList.remove('exclusive-elem');
let ads = document.querySelectorAll('div.ad-container, div[class*="ads-container"], div.adblock-warning');
hideDOMElement(...ads);
}
else if (matchDomain('vn.at')) {
if (window.location.href.match(/\.vn\.at\/.+\/\d{4}\//)) {
let paywall = document.querySelector('div.paywalled-content');

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.4.3.4"
"version": "3.4.3.5"
}

View file

@ -718,6 +718,7 @@
"*://*.tri-cityherald.com/*",
"*://*.triathlete.com/*",
"*://*.trouw.nl/*",
"*://*.tt.com/*",
"*://*.tubantia.nl/*",
"*://*.tucson.com/*",
"*://*.tulsaworld.com/*",
@ -816,5 +817,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.4.3.4"
"version": "3.4.3.5"
}

View file

@ -2515,6 +2515,11 @@ var defaultSites = {
}
]
},
"Tiroler Tageszeitung": {
domain: "tt.com",
allow_cookies: 1,
block_regex: /\.piano\.io\/xbuilder\/experience\/execute/
},
"Tribune Publishing Company": {
domain: "###_usa_tribune",
group: [

View file

@ -153,6 +153,13 @@
"cs_dompurify": 1,
"upd_version": "3.4.1.6"
},
"Tiroler Tageszeitung": {
"domain": "tt.com",
"allow_cookies": 1,
"block_regex": "\\.piano\\.io\\/xbuilder\\/experience\\/execute",
"cs_code": "[{\"cond\":\".exclusive-elem\", \"rm_class\":\"exclusive-elem\"}]",
"upd_version": "3.4.3.5"
},
"TownNews sites (Blox CMS)": {
"domain": "###_usa_townnews",
"block_regex_general": "\\/tncms\\/api\\/access(\\..+)?\\.js",