mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 01:54:24 +02:00
Add elperiodico.com (#1144)
This commit is contained in:
parent
5c85219e78
commit
6f652eedf2
@ -58,6 +58,7 @@
|
||||
[Eindhovens Dagblad](https://www.ed.nl)\
|
||||
[El Mercurio](https://www.elmercurio.com)\
|
||||
[El Pais](https://www.elpais.com/)\
|
||||
[El Periodico](https://www.elperiodico.com/)\
|
||||
[Elu24](https://www.elu24.ee)\
|
||||
[Encyclopedia Britannica](https://www.britannica.com)\
|
||||
[Estadão](https://www.estadao.com.br)\
|
||||
|
@ -25,6 +25,7 @@
|
||||
"*://*.editorialedomani.it/*",
|
||||
"*://*.elmercurio.com/*",
|
||||
"*://*.elpais.com/*",
|
||||
"*://*.elperiodico.com/*",
|
||||
"*://*.elu24.ee/*",
|
||||
"*://*.estadao.com.br/*",
|
||||
"*://*.examiner.com.au/*",
|
||||
|
@ -344,7 +344,19 @@ if (matchDomain('elmercurio.com')) {
|
||||
removeDOMElement(paywall);
|
||||
body.removeAttribute('style');
|
||||
}, 500); // Delay (in milliseconds)
|
||||
} else if (matchDomain('techinasia.com')) {
|
||||
} else if (matchDomain('elperiodico.com')) {
|
||||
setTimeout(function () {
|
||||
const unavailableArea = document.querySelector(".closed");
|
||||
const infoBox = document.querySelector(".ep-masPeriodico-info");
|
||||
if (unavailableArea) {
|
||||
unavailableArea.classList.remove("closed");
|
||||
}
|
||||
if (infoBox) {
|
||||
infoBox.parentNode.removeChild(infoBox);
|
||||
}
|
||||
}, 2000);
|
||||
}
|
||||
else if (matchDomain('techinasia.com')) {
|
||||
const paywall = document.querySelector('.paywall-content');
|
||||
if (paywall) {
|
||||
paywall.classList.remove('paywall-content');
|
||||
|
@ -33,6 +33,7 @@ const defaultSites = {
|
||||
'Eindhovens Dagblad': 'ed.nl',
|
||||
'El Mercurio':'elmercurio.com',
|
||||
'El Pais': 'elpais.com',
|
||||
'El Periodico': 'elperiodico.com',
|
||||
'Elu24': 'elu24.ee',
|
||||
'Encyclopedia Britannica': 'britannica.com',
|
||||
'Estadão': 'estadao.com.br',
|
||||
|
Loading…
x
Reference in New Issue
Block a user