From 7ebbbdc9e63874cc5ae6b47dd93a8515dc4d84e6 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 1 Oct 2021 08:31:17 +0200 Subject: [PATCH] Fix Boston Globe --- changelog.txt | 1 + contentScript.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 6f77898..5da28ca 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Remove Gazet van Antwerpen (obsolete) +Fix Boston Globe Fix El Periodico de Catalunya (amp) Fix Foreign Affairs (timing) Fix Medium (cookies) diff --git a/contentScript.js b/contentScript.js index 73d680c..4c2211f 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1688,7 +1688,8 @@ else if (matchDomain('bloombergquint.com')) { else if (matchDomain('bostonglobe.com')) { let paywall = document.querySelector('div.meter-paywall'); - if (paywall) { + let fade = document.querySelector('div.fade'); + if (paywall || fade) { removeDOMElement(paywall); let body_hidden = document.querySelector('body[style]'); if (body_hidden)