Add GauchaZH

This commit is contained in:
magnolia1234 2023-05-22 17:40:33 +02:00
parent a3774ed569
commit 189e0e0095
7 changed files with 21 additions and 3 deletions

View file

@ -863,6 +863,7 @@ Grouped in options:\
##### Brazil ##### Brazil
[Estado de Minas](https://www.em.com.br) - [Estado de Minas](https://www.em.com.br) -
[Exame](https://exame.com) - [Exame](https://exame.com) -
[GaúchaZH](https://gauchazh.clicrbs.com.br) -
[Grupo Abril](https://grupoabril.com.br) - [Grupo Abril](https://grupoabril.com.br) -
[O Estado de S. Paulo](https://estadao.com.br) - [O Estado de S. Paulo](https://estadao.com.br) -
[O Globo](https://oglobo.globo.com) - [O Globo](https://oglobo.globo.com) -

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release Post-release
Add GauchaZH
Remove Weltkunst.de (fix obsolete) Remove Weltkunst.de (fix obsolete)
* v3.1.9.0 (2023-05-21) * v3.1.9.0 (2023-05-21)

View file

@ -49,7 +49,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']; 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) // clean local storage of sites (with an exemption for hold-list)
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.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', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.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', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, de_funke_medien_domains, de_lv_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, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains); var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.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', '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', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, de_funke_medien_domains, de_lv_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, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
if (!matchDomain(arr_localstorage_hold)) { if (!matchDomain(arr_localstorage_hold)) {
window.localStorage.clear(); window.localStorage.clear();
} }
@ -2915,6 +2915,11 @@ else if (matchDomain('blogfolha.uol.com.br')) {
} }
} }
else if (matchDomain('gauchazh.clicrbs.com.br')) {
let ads = document.querySelectorAll('div.ad-banner, div.ad-container');
hideDOMElement(...ads);
}
else if (matchDomain('ladiaria.com.uy')) { else if (matchDomain('ladiaria.com.uy')) {
if (window.location.search.startsWith('?display=amp')) { if (window.location.search.startsWith('?display=amp')) {
csDoneOnce = true; csDoneOnce = true;

View file

@ -51,5 +51,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.1.9.0" "version": "3.1.9.1"
} }

View file

@ -144,6 +144,7 @@
"*://*.clarin.com/*", "*://*.clarin.com/*",
"*://*.cleaneatingmag.com/*", "*://*.cleaneatingmag.com/*",
"*://*.cleveland.com/*", "*://*.cleveland.com/*",
"*://*.clicrbs.com.br/*",
"*://*.climbing.com/*", "*://*.climbing.com/*",
"*://*.cmjornal.pt/*", "*://*.cmjornal.pt/*",
"*://*.cnbc.com/*", "*://*.cnbc.com/*",
@ -751,5 +752,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.1.9.0" "version": "3.1.9.1"
} }

View file

@ -672,6 +672,11 @@ var defaultSites = {
block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/, block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
useragent: "googlebot" useragent: "googlebot"
}, },
"GaúchaZH": {
domain: "gauchazh.clicrbs.com.br",
allow_cookies: 1,
block_regex: /(\.piano\.io\/api\/tinypass\.min\.js|\.clicrbs\.com\.br\/paywall-api\/count\/)/
},
"GenomeWeb": { "GenomeWeb": {
domain: "###_usa_genomeweb", domain: "###_usa_genomeweb",
group: [ group: [

View file

@ -36,6 +36,11 @@
"block_regex": "\\.(elmercurio\\.com|emol\\.cl)\\/(.+\\/)?js\\/(.+\\/)?(modal|merPramV\\d|PramModal\\.min)\\.js", "block_regex": "\\.(elmercurio\\.com|emol\\.cl)\\/(.+\\/)?js\\/(.+\\/)?(modal|merPramV\\d|PramModal\\.min)\\.js",
"useragent": "facebookbot" "useragent": "facebookbot"
}, },
"GaúchaZH": {
"domain": "gauchazh.clicrbs.com.br",
"allow_cookies": 1,
"block_regex": "(\\.piano\\.io\\/api\\/tinypass\\.min\\.js|\\.clicrbs\\.com\\.br\\/paywall-api\\/count)"
},
"Il Messaggero (+ regional)": { "Il Messaggero (+ regional)": {
"domain": "###_it_ilmessaggero", "domain": "###_it_ilmessaggero",
"group": [ "group": [