From edd6fc000cb5a5aa2124354cf207c2dc3342de26 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 6 Jun 2021 21:13:03 +0200 Subject: [PATCH] Release v2.2.4.0 --- changelog.txt | 2 ++ contentScript.js | 5 ++--- manifest.json | 2 +- updates.json | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/changelog.txt b/changelog.txt index 4758daa..d80eb76 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,8 @@ Changelog Bypass Paywalls Clean - Firefox Post-release + +* v2.2.4.0 (2021-06-06) Add group Crain's Business Add The Atlanta Journal-Constitution (local USA) Fix-update Modern Healthcare diff --git a/contentScript.js b/contentScript.js index a2ffe0e..90ba0f0 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1462,9 +1462,8 @@ else if (matchDomain(['theathletic.com', 'theathletic.co.uk'])) { else if (matchDomain('thetimes.co.uk')) { let block = document.querySelector('.subscription-block'); - let ad_block = document.getElementById('ad-article-inline'); - let ad_header = document.getElementById('sticky-ad-header'); - removeDOMElement(block, ad_block, ad_header); + let adverts = document.querySelectorAll('#ad-article-inline, #sticky-ad-header, div[class*="InlineAdWrapper"], div[class*="NativeAd"], div.responsiveweb-sc-1exejum-0'); + removeDOMElement(block, ...adverts); } else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie'])) diff --git a/manifest.json b/manifest.json index d1f568c..b11c004 100644 --- a/manifest.json +++ b/manifest.json @@ -524,5 +524,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.2.3.3" + "version": "2.2.4.0" } \ No newline at end of file diff --git a/updates.json b/updates.json index d5516c7..4cb7b9f 100644 --- a/updates.json +++ b/updates.json @@ -2,8 +2,8 @@ "addons": { "magnolia@12.34": { "updates": [ - { "version": "2.2.3.0", - "update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-2.2.3.0.xpi" } + { "version": "2.2.4.0", + "update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-2.2.4.0.xpi" } ] } }