Add El Confidencial (Spain)

master
magnolia1234 2021-01-24 11:04:06 +01:00
parent 3e76778f97
commit 93e5d8d008
6 changed files with 12 additions and 0 deletions

View File

@ -372,6 +372,7 @@ Grouped in options:\
##### Spain
[ABC](https://www.abc.es) -
[El Confidencial](https://www.elconfidencial.com) -
[El Diario.es](https://www.eldiario.es) -
[El Mundo](https://www.elmundo.es) -
[El País](https://elpais.com) -

View File

@ -45,6 +45,7 @@ var allow_cookies_default = [
'dn.se',
'dvhn.nl',
'editorialedomani.it',
'elconfidencial.com',
'elmercurio.com',
'elmundo.es',
'elpais.com',
@ -223,6 +224,7 @@ var blockedRegexes = {
'economist.com': /\.tinypass\.com\/.+/,
'editorialedomani.it': /(.+\.editorialedomani\.it\/pelcro\.js|js\.pelcro\.com\/.+)/,
'elcomercio.pe': /elcomercio\.pe\/pf\/dist\/template\/elcomercio-noticia.+\.js/,
'elconfidencial.com': /\.tinypass\.com\/.+/,
'elmercurio.com': /\.(elmercurio\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/,
'elmundo.es': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js/,
'elpais.com': /(\.epimg\.net\/js\/.+\/noticia\.min\.js|\.cdn\.arcpublishing\.com\/arc\/subs\/p\.min\.js|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|consent)-.+\.js)/,

View File

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Add Ambito (Argentina)
Add Correio da Manha (Portugal)
Add El Confidencial (Spain)
Add elDiario.es (Spain)
Add La Nueva Espana (Spain)
Add Observador (Portugal)

View File

@ -1987,6 +1987,12 @@ else if (matchDomain('marketwatch.com')) {
removeDOMElement(...ads);
}
else if (matchDomain('elconfidencial.com')) {
let premium = document.querySelector('div.newsType__content--closed');
if (premium)
premium.classList.remove('newsType__content--closed');
}
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
csDone = true;

View File

@ -109,6 +109,7 @@
"*://*.editorialedomani.it/*",
"*://*.elcomercio.es/*",
"*://*.elcomercio.pe/*",
"*://*.elconfidencial.com/*",
"*://*.elcorreo.com/*",
"*://*.eldiario.es/*",
"*://*.eldiariomontanes.es/*",

View File

@ -48,6 +48,7 @@ var defaultSites =
"Discover Magazine": "discovermagazine.com",
"Domani": "editorialedomani.it",
"El Comercio": "elcomercio.pe",
"El Confidencial": "elconfidencial.com",
"El Diario.es": "eldiario.es",
"El Mercurio": "elmercurio.com",
"El Mercurio de Valparaíso": "mercuriovalpo.cl",