mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-05-24 04:32:07 +02:00
Fix formatting
This commit is contained in:
parent
129188f62a
commit
c13820c8d1
@ -3,14 +3,13 @@ if (!matchDomain(['seekingalpha.com', 'sfchronicle.com', 'cen.acs.org'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (matchDomain('elmercurio.com')) {
|
if (matchDomain('elmercurio.com')) {
|
||||||
if (window.location.href.toLowerCase().includes('/inversiones/') ) {
|
if (window.location.href.toLowerCase().includes('/inversiones/')) {
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const paywall = document.querySelector('#modal_limit_articulos');
|
const paywall = document.querySelector('#modal_limit_articulos');
|
||||||
const body = document.querySelector('body');
|
const body = document.querySelector('body');
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
if(body.hasAttribute('class'))
|
if (body.hasAttribute('class')) { body.removeAttribute('class'); }
|
||||||
{ body.removeAttribute('class'); }
|
});
|
||||||
});
|
|
||||||
}
|
}
|
||||||
} else if (matchDomain('estadao.com.br')) {
|
} else if (matchDomain('estadao.com.br')) {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user