Fix Bloomberg bot-alert

A captcha popped up (earlier fixed for Chrome).
master
magnolia1234 2019-11-08 23:26:06 +01:00 committed by GitHub
parent c95becae34
commit 98d97f593d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -100,8 +100,10 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
}
if (window.location.href.indexOf("bloomberg.com") !== -1) {
const paywall = document.getElementById('paywall-banner');
removeDOMElement(paywall);
document.addEventListener('DOMContentLoaded', () => {
const paywall = document.getElementById('paywall-banner');
removeDOMElement(paywall);
});
}
if (window.location.href.indexOf('telegraaf.nl') !== -1) {