mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 02:24:26 +02:00
adding elmercurio.com/Inversiones (#817)
* adding elmercurio.com/Inversiones * adding support elmercurio.com/inversiones * update README.md and manifest-ff.json * some JS * names
This commit is contained in:
parent
cb5afd527d
commit
129188f62a
@ -48,6 +48,7 @@
|
||||
[Denver Post](https://www.denverpost.com)\
|
||||
[Dynamed Plus](https://www.dynamed.com)\
|
||||
[Eindhovens Dagblad](https://www.ed.nl)\
|
||||
[El Mercurio](https://www.elmercurio.com)\
|
||||
[El Pais](https://www.elpais.com/)\
|
||||
[Encyclopedia Britannica](https://www.britannica.com)\
|
||||
[Estadão](https://www.estadao.com.br)\
|
||||
|
@ -20,6 +20,7 @@
|
||||
"*://*.canberratimes.com.au/*",
|
||||
"*://*.economist.com/*",
|
||||
"*://*.ed.nl/*",
|
||||
"*://*.elmercurio.com/*",
|
||||
"*://*.elpais.com/*",
|
||||
"*://*.estadao.com.br/*",
|
||||
"*://*.examiner.com.au/*",
|
||||
@ -127,6 +128,7 @@
|
||||
"*://*.dynamed.com/*",
|
||||
"*://*.economist.com/*",
|
||||
"*://*.ed.nl/*",
|
||||
"*://*.elmercurio.com/*",
|
||||
"*://*.examiner.com.au/*",
|
||||
"*://*.fd.nl/*",
|
||||
"*://*.fnlondon.com/*",
|
||||
|
@ -185,7 +185,8 @@ const blockedRegexes = {
|
||||
'wsj.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
'historyextra.com': /.+\.evolok\.net\/.+\/authorize\/.+/,
|
||||
'barrons.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
'irishtimes.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/
|
||||
'irishtimes.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
'elmercurio.com': /(merreader\.emol\.cl\/assets\/js\/merPramV2.js|staticmer\.emol\.cl\/js\/inversiones\/PramModal.+\.js)/
|
||||
};
|
||||
|
||||
const userAgentDesktop = 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)';
|
||||
|
@ -2,7 +2,17 @@ if (!matchDomain(['seekingalpha.com', 'sfchronicle.com', 'cen.acs.org'])) {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
|
||||
if (matchDomain('estadao.com.br')) {
|
||||
if (matchDomain('elmercurio.com')) {
|
||||
if (window.location.href.toLowerCase().includes('/inversiones/') ) {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const paywall = document.querySelector('#modal_limit_articulos');
|
||||
const body = document.querySelector('body');
|
||||
removeDOMElement(paywall);
|
||||
if(body.hasAttribute('class'))
|
||||
{ body.removeAttribute('class'); }
|
||||
});
|
||||
}
|
||||
} else if (matchDomain('estadao.com.br')) {
|
||||
setTimeout(function () {
|
||||
const paywall = document.querySelector('#paywall-wrapper-iframe-estadao');
|
||||
const body = document.querySelector('html');
|
||||
|
@ -23,6 +23,7 @@ const defaultSites = {
|
||||
'de Volkskrant': 'volkskrant.nl',
|
||||
'Dynamed Plus': 'dynamed.com',
|
||||
'Eindhovens Dagblad': 'ed.nl',
|
||||
'El Mercurio':'elmercurio.com',
|
||||
'El Pais': 'elpais.com',
|
||||
'Encyclopedia Britannica': 'britannica.com',
|
||||
'Estadão': 'estadao.com.br',
|
||||
|
Loading…
x
Reference in New Issue
Block a user