This commit is contained in:
Adam 2020-10-25 09:24:25 -07:00
commit 044ed46fde

View File

@ -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');