Fix Bloomberg

Fixes issue https://github.com/iamadamdev/bypass-paywalls-chrome/issues/399
This commit is contained in:
magnolia1234 2019-11-14 12:22:48 +01:00 committed by GitHub
parent b736f062eb
commit 5965492e3e

View File

@ -114,6 +114,9 @@ if (window.location.href.indexOf("bloombergquint.com") !== -1) {
if (window.location.href.indexOf("bloomberg.com") !== -1) {
document.addEventListener('DOMContentLoaded', () => {
const fence = document.querySelector('.fence-body');
if (fence)
fence.classList.remove('fence-body');
const paywall = document.getElementById('paywall-banner');
removeDOMElement(paywall);
});