mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-05-06 19:04:25 +02:00
Fixes iamadamdev/bypass-paywalls-chrome#980 (#991)
This commit is contained in:
parent
936be59d43
commit
f9ee00af73
@ -78,7 +78,7 @@ if (matchDomain('elmercurio.com')) {
|
|||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
} else if (matchDomain('washingtonpost.com')) {
|
} 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) {
|
document.querySelectorAll('div[id^="paywall"]').forEach(function (el) {
|
||||||
removeDOMElement(el);
|
removeDOMElement(el);
|
||||||
});
|
});
|
||||||
const html = document.querySelector('html');
|
const html = document.querySelector('html');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user