Add Diario Correo (Grupo El Comercio)

This commit is contained in:
magnolia1234 2022-02-11 17:51:33 +01:00
parent 8057c99960
commit 44c1621b5b
6 changed files with 28 additions and 12 deletions

View file

@ -676,6 +676,8 @@ Grouped in options:\
##### Mexico
[Mexico News Daily](https://mexiconewsdaily.com)
##### Peru
*Grupo El Comercio* sites like:
[Diario Correo](https://diariocorreo.pe) -
[El Comercio](https://elcomercio.pe) -
[Gestión](https://gestion.pe)

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Condé Nast magazines & Vogue Business
Add Diario Correo (Grupo El Comercio)
Add Groupe Sud Ouest (France)
Fix Australian Community Media (images)
Fix Lequipe.fr & LesEchos.fr (refresh)

View file

@ -20,6 +20,7 @@ var it_repubblica_domains = ['gelocal.it', 'ilsecoloxix.it', 'italian.tech', 'la
var it_quotidiano_domains = ['ilgiorno.it', 'ilrestodelcarlino.it', 'iltelegrafolivorno.it', 'lanazione.it', 'quotidiano.net'];
var nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
var no_nhst_media_domains = ['intrafish.com', 'rechargenews.com', 'tradewindsnews.com', 'upstreamonline.com'];
var pe_grupo_elcomercio_domains = ['diariocorreo.pe', 'elcomercio.pe', 'gestion.pe'];
var timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com'];
var usa_adv_local_domains = ['al.com', 'cleveland.com', 'lehighvalleylive.com', 'masslive.com', 'mlive.com', 'nj.com', 'oregonlive.com', 'pennlive.com', 'silive.com', 'syracuse.com'];
var usa_conde_nast_domains = ['bonappetit.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.com', 'wired.com'];
@ -1856,7 +1857,7 @@ else if (matchDomain('clarin.com')) {
removeDOMElement(...ads);
}
else if (matchDomain(['elcomercio.pe', 'gestion.pe'])) {
else if (matchDomain(pe_grupo_elcomercio_domains)) {
let paywall = document.querySelector('.story-content__nota-premium');
if (paywall) {
paywall.classList.remove('story-content__nota-premium');

View file

@ -153,6 +153,7 @@
"*://*.deutsche-wirtschafts-nachrichten.de/*",
"*://*.df.cl/*",
"*://*.di.se/*",
"*://*.diariocorreo.pe/*",
"*://*.diariodeibiza.es/*",
"*://*.diariodemallorca.es/*",
"*://*.diariosur.es/*",
@ -618,5 +619,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.5.5.4"
"version": "2.5.5.5"
}

View file

@ -335,11 +335,6 @@ var defaultSites = {
block_regex: /(\.editorialedomani\.it\/pelcro\.js|js\.pelcro\.com\/)/,
useragent: "googlebot"
},
"El Comercio": {
domain: "elcomercio.pe",
allow_cookies: 1,
block_regex: /\/elcomercio\.pe\/pf\/dist\/engine\/react\.js/
},
"El Confidencial": {
domain: "elconfidencial.com",
allow_cookies: 1,
@ -533,11 +528,6 @@ var defaultSites = {
domain: "genomeweb.com",
group_rule: "###_gr_usa_genomeweb_domains"
},
"Gestión": {
domain: "gestion.pe",
allow_cookies: 1,
block_regex: /\/gestion\.pe\/pf\/dist\/engine\/react\.js/
},
"Glassdoor": {
domain: "glassdoor.com"
},
@ -627,6 +617,16 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /(\.abril\.com\.br\/.+\/abril-paywall\/js\/abril-paywall\.js|cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|subscriptions)-.+\.js)/
},
"Grupo El Comercio": {
domain: "###_pe_grupo_elcomercio",
group: [
"diariocorreo.pe",
"elcomercio.pe",
"gestion.pe"
],
allow_cookies: 1,
block_regex: "\\/{domain}\\/pf\\/dist\\/engine\\/react\\.js"
},
"Grupo Prensa Ibérica": {
domain: "###_es_epiberica",
group: [

View file

@ -27,6 +27,17 @@
"block_regex": "(journey\\.bonappetit\\.com\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)",
"useragent": "googlebot"
},
"Diario Correo": {
"domain": "diariocorreo.pe",
"allow_cookies": 1,
"block_regex": "\\/diariocorreo\\.pe\\/pf\\/dist\\/engine\\/react\\.js",
"cs_code": [{
"cond": ".story-content__nota-premium",
"rm_attrib": "style",
"rm_class": "story-content__nota-premium"
}
]
},
"GQ": {
"domain": "gq.com",
"remove_cookies_select_drop": ["pay_ent_smp"],