Fix The New Yorker paywall-banner
This commit is contained in:
parent
e21a47021a
commit
d2ba6b86e8
@ -413,6 +413,11 @@ if (window.location.href.indexOf("lc.nl") !== -1 || window.location.href.indexOf
|
||||
});
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("newyorker.com") !== -1) {
|
||||
const paywall_bar = document.querySelector('.paywall-bar');
|
||||
removeDOMElement(paywall_bar);
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user