mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 04:04:26 +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 (window.location.href.toLowerCase().includes('/inversiones/') ) {
|
||||
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'); }
|
||||
});
|
||||
if (body.hasAttribute('class')) { body.removeAttribute('class'); }
|
||||
});
|
||||
}
|
||||
} else if (matchDomain('estadao.com.br')) {
|
||||
setTimeout(function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user