Fix Grupo El Comercio

This commit is contained in:
magnolia1234 2022-09-16 08:13:19 +02:00
parent 0ffa02e076
commit 2f65c2e2c4
5 changed files with 22 additions and 6 deletions

View file

@ -6,6 +6,7 @@ Add 60 Millions de consommateurs
Add BusinessPost.ie
Add Private Equity News
Fix Esprit.presse.fr
Fix Grupo El Comercio
Fix Gruppo GEDI.it (login)
Fix The Spectator UK (no amp)

View file

@ -753,6 +753,8 @@ else if (matchDomain(de_madsack_domains) || matchDomain(de_madsack_custom_domain
}
}
}
let ads = document.querySelectorAll('div[class^="Adstyled__AdWrapper"]');
removeDOMElement(...ads);
} else if (window.location.pathname.startsWith('/amp/')) {
amp_unhide_subscr_section('.pdb-ad-container, amp-embed');
} else {
@ -2266,12 +2268,15 @@ else if (matchDomain('crusoe.uol.com.br')) {
}
else if (matchDomain(pe_grupo_elcomercio_domains)) {
let paywall = document.querySelector('.story-content__nota-premium');
let paywall = document.querySelector('.paywall');
if (paywall) {
paywall.classList.remove('story-content__nota-premium');
paywall.removeAttribute('class');
paywall.removeAttribute('style');
let fade = document.querySelector('p.story-contents--fade');
if (fade)
fade.classList.remove('story-contents--fade');
}
let ads = document.querySelectorAll('div[class*="_ads"]');
let ads = document.querySelectorAll('div[class^="content_gpt"]');
removeDOMElement(...ads);
}

View file

@ -705,5 +705,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.4.4"
"version": "2.8.4.5"
}

View file

@ -685,7 +685,7 @@ var defaultSites = {
"gestion.pe"
],
allow_cookies: 1,
block_regex: "\\/{domain}\\/pf\\/dist\\/engine\\/react\\.js"
block_regex: "(\\.tinypass\\.com\\/|\\/{domain}\\/pf\\/dist\\/engine\\/react\\.js)"
},
"Grupo Prensa Ibérica": {
domain: "###_es_epiberica",
@ -2202,4 +2202,4 @@ init_custom_domains();
// sites with no fix (background)
var nl_dpg_media_nofix_domains = ['ad.nl', 'bd.nl', 'bndestem.nl', 'destentor.nl', 'ed.nl', 'gelderlander.nl', 'hln.be', 'pzc.nl', 'tubantia.nl'];
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.dk', 'publico.pt', 'republic.ru', 'rp-online.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(nl_dpg_media_nofix_domains);
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nbr.co.nz', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.dk', 'publico.pt', 'republic.ru', 'rp-online.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(nl_dpg_media_nofix_domains);

View file

@ -14,6 +14,16 @@
"allow_cookies": 1,
"block_regex": "\\.poool\\.fr\\/"
},
"Grupo El Comercio": {
"domain": "###_pe_grupo_elcomercio",
"group": [
"diariocorreo.pe",
"elcomercio.pe",
"gestion.pe"
],
"allow_cookies": 1,
"block_regex": "(\\.tinypass\\.com\\/|\\/{domain}\\/pf\\/dist\\/engine\\/react\\.js)"
},
"Private Equity News": {
"domain": "penews.com",
"useragent": "googlebot"