Fix Bloomberg bot-alert

A captcha popped up (earlier fixed for Chrome).
This commit is contained in:
magnolia1234 2019-11-08 23:26:06 +01:00 committed by GitHub
parent 1aa9dec9a8
commit d62d9a63c7

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) {