Fixes iamadamdev/bypass-paywalls-chrome#980 (#991)

This commit is contained in:
Stefan Siegfried 2020-10-25 12:23:37 -04:00 committed by GitHub
parent 936be59d43
commit f9ee00af73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ if (matchDomain('elmercurio.com')) {
removeDOMElement(paywall);
} else if (matchDomain('washingtonpost.com')) {
// 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);
});
const html = document.querySelector('html');