diff --git a/changelog.txt b/changelog.txt index 389643ab..b0bb542e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Aachener Nachrichten & Zeitung Add NK News (free articles only) +Fix NHST Media Group * v2.8.6.0 (2022-09-25) Add Groupe Centre France (opt-in to custom sites) diff --git a/contentScript.js b/contentScript.js index 65b3aa74..4e5966d4 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1171,7 +1171,7 @@ else if (matchDomain('elle.fr')) { } else if (matchDomain(fr_be_groupe_rossel)) { - let ads = document.querySelectorAll('div[id^="article_"], r-pub'); + let ads = document.querySelectorAll('div[id^="article_"], r-pub, div#rossel-leader-top'); removeDOMElement(...ads); } @@ -3873,8 +3873,9 @@ else if (matchDomain(no_nhst_media_domains)) { window.setTimeout(function () { let paywall = document.querySelector('iframe#paywall-iframe'); if (paywall && dompurify_loaded) { + let intro = document.querySelector('div.global-article-selector'); let article = paywall.parentNode; - removeDOMElement(paywall); + removeDOMElement(paywall, intro); fetch(url) .then(response => { if (response.ok) {