mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 04:14:26 +02:00
Formatting
This commit is contained in:
parent
c5684c52df
commit
7c804a2b9a
@ -137,11 +137,11 @@ if (matchDomain('elmercurio.com')) {
|
||||
const childItems = document.querySelector('.article__body').getElementsByTagName('*');
|
||||
let classHidden = '';
|
||||
for (const el of childItems) {
|
||||
if (el.getAttribute('class')!=null && classHidden=='') {
|
||||
classHidden = el.getAttribute('class');
|
||||
if (el.getAttribute('class') !== null && classHidden === '') {
|
||||
classHidden = el.getAttribute('class');
|
||||
}
|
||||
}
|
||||
if (classHidden!='') {
|
||||
if (classHidden !== '') {
|
||||
for (const el of childItems) {
|
||||
el.classList.remove(classHidden);
|
||||
el.removeAttribute('style');
|
||||
|
Loading…
x
Reference in New Issue
Block a user