Fix Bloomberg (newsletters)

This commit is contained in:
magnolia1234 2022-05-07 09:03:36 +02:00
parent f01b88270f
commit 72d0687d74
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Add De Tijd & L'Echo
Add group Mediahuis Noord (opt-in to custom sites for unlisted)
Add The Daily Wire
Fix Australian Community Media
Fix Bloomberg (newsletters)
Fix DealStreetAsia (free articles only)
Fix Knack.be & LeVif.be

View File

@ -2353,7 +2353,7 @@ else if (matchDomain('bloomberg.com')) {
removeDOMElement(paywall, counter, leaderboard);
sessionStorage.clear();
let url = window.location.href;
if (url.match(/\/(articles|features)\//)) {
if (url.match(/\/(articles|features|newsletters)\//)) {
let page_ad = document.querySelectorAll('div.page-ad, div[data-ad-placeholder]');
let reg_ui_client = document.querySelector('div#reg-ui-client');
removeDOMElement(leaderboard, ...page_ad, reg_ui_client);