mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 07:14:26 +02:00
Formatting
This commit is contained in:
parent
acf454c5b7
commit
7dbd4201a9
@ -77,7 +77,7 @@ if (matchDomain('elmercurio.com')) {
|
||||
const paywall = document.querySelector('.article__component.article__component--paywall-module-notification');
|
||||
removeDOMElement(paywall);
|
||||
} else if (matchDomain('washingtonpost.com')) {
|
||||
//Remove all elements with the id contains 'paywall'
|
||||
// Remove all elements with the id contains 'paywall'
|
||||
document.querySelectorAll('div[data-qa="paywall"]').forEach(function (el) {
|
||||
removeDOMElement(el);
|
||||
});
|
||||
@ -409,7 +409,7 @@ if (matchDomain('elmercurio.com')) {
|
||||
document.querySelectorAll('div.ReactModalPortal').forEach(function (el) {
|
||||
removeDOMElement(el);
|
||||
});
|
||||
//Enable Scroll. Reveal Hiddlen Paragraph
|
||||
// Enable Scroll. Reveal Hiddlen Paragraph
|
||||
document.getElementsByTagName('body')[0].removeAttribute('class');
|
||||
} else if (matchDomain('seattletimes.com')) {
|
||||
window.setTimeout(function () {
|
||||
@ -418,7 +418,7 @@ if (matchDomain('elmercurio.com')) {
|
||||
removeDOMElement(el);
|
||||
});
|
||||
// Remove Blurred Style from all matching Divs
|
||||
document.getElementById("container").removeAttribute("style");
|
||||
document.getElementById('container').removeAttribute('style');
|
||||
document.querySelectorAll('div[style~="filter"]').forEach(function (el) {
|
||||
el.removeAttribute('style');
|
||||
});
|
||||
@ -428,12 +428,12 @@ if (matchDomain('elmercurio.com')) {
|
||||
el.removeAttribute('class');
|
||||
});
|
||||
}, 2000); // Delay (in milliseconds)
|
||||
} else if (matchDomain("theatlantic.com")) {
|
||||
//Remove all nudge elements
|
||||
} else if (matchDomain('theatlantic.com')) {
|
||||
// Remove all nudge elements
|
||||
document.querySelectorAll('div[class*="c-nudge"]').forEach(function (el) {
|
||||
removeDOMElement(el);
|
||||
});
|
||||
//Remove all FancyBox ads
|
||||
// Remove all FancyBox ads
|
||||
document.querySelectorAll('div[class*="fancybox"]').forEach(function (el) {
|
||||
removeDOMElement(el);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user