diff --git a/README.md b/README.md index 01ca1f1..59915a7 100755 --- a/README.md +++ b/README.md @@ -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) - diff --git a/background.js b/background.js index d8e0b47..d072202 100755 --- a/background.js +++ b/background.js @@ -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)/, diff --git a/changelog.txt b/changelog.txt index 94121cb..a205e1b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index e2eab7b..6df6738 100755 --- a/contentScript.js +++ b/contentScript.js @@ -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; diff --git a/manifest.json b/manifest.json index 9f960e1..a311c88 100755 --- a/manifest.json +++ b/manifest.json @@ -109,6 +109,7 @@ "*://*.editorialedomani.it/*", "*://*.elcomercio.es/*", "*://*.elcomercio.pe/*", + "*://*.elconfidencial.com/*", "*://*.elcorreo.com/*", "*://*.eldiario.es/*", "*://*.eldiariomontanes.es/*", diff --git a/sites.js b/sites.js index 38fe51d..4348d30 100755 --- a/sites.js +++ b/sites.js @@ -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",