diff --git a/changelog.txt b/changelog.txt index 5c1dc854..e5decedb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,8 @@ Changelog Bypass Paywalls Clean - Firefox Post-release + +* v2.9.6.0 (2022-12-04) Add DN.no Add Sueddeutsche Zeitung (link to archive.is) Add Welt.de (link to archive.is) diff --git a/contentScript.js b/contentScript.js index f828e216..e3d722f7 100644 --- a/contentScript.js +++ b/contentScript.js @@ -2757,7 +2757,7 @@ else if (matchDomain('business-standard.com')) { let ads = document.querySelectorAll('div[class*="adv-"]'); removeDOMElement(...ads); } else { - amp_unhide_subscr_section('amp-ad, amp-embed, .block-cont-amp, #divnonpaidcontent, div > div.article_image, div[subscriptions-actions], .reader'); + amp_unhide_subscr_section('amp-ad, amp-embed, .block-cont-amp, #divnonpaidcontent, section > div.article_image, div[subscriptions-actions], .reader'); } } @@ -3869,7 +3869,7 @@ else if (matchDomain('the-american-interest.com')) { } else if (matchDomain('theathletic.com')) { - if (!window.location.search.match(/(\?|&)amp/)) { + if (!(window.location.search.match(/(\?|&)amp/) && !document.querySelector('link[rel="amphtml"]'))) { let paywall = document.querySelector('div#slideup-paywall'); if (paywall) { let overlays = document.querySelectorAll('div[id*="overlay"], div:empty:not([data-rjs])'); diff --git a/manifest.json b/manifest.json index 046b219e..2c18b2e5 100644 --- a/manifest.json +++ b/manifest.json @@ -732,5 +732,5 @@ "*://gcm.omerlocdn.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.9.5.7" + "version": "2.9.6.0" } diff --git a/sites.js b/sites.js index 66334251..ee9515ab 100644 --- a/sites.js +++ b/sites.js @@ -2170,7 +2170,7 @@ var defaultSites = { "Amp-access": { domain: "cdn.ampproject.org", allow_cookies: 1, - block_regex_general: /cdn\.ampproject\.org\/.+\/amp-(access|ad|analytics|fx-flying-carpet|subscriptions)-.+\.(m)?js/, + block_regex_general: /cdn\.ampproject\.org\/.+\/amp-(access|(.+-)?ad|analytics|fx-flying-carpet|subscriptions)-.+\.(m)?js/, excluded_domains: ["cambridge.org"] }, "AzureEdge": { diff --git a/updates.json b/updates.json index 15bd66a6..bf84b4a0 100644 --- a/updates.json +++ b/updates.json @@ -2,8 +2,8 @@ "addons": { "magnolia@12.34": { "updates": [ - { "version": "2.9.5.0", - "update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-2.9.5.0.xpi" } + { "version": "2.9.6.0", + "update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-2.9.6.0.xpi" } ] } }