diff --git a/changelog.txt b/changelog.txt index caa1384..2ec4d33 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases Post-release +Fix Forbes (menu) Fix Star Tribune (css) * v3.3.1.0 (2023-08-27) diff --git a/contentScript.js b/contentScript.js index 29e42fc..f2903bc 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3732,6 +3732,11 @@ else if (matchDomain('firstthings.com')) { removeDOMElement(paywall); } +else if (matchDomain('forbes.com')) { + waitDOMAttribute('body', 'body', 'class', node => node.removeAttribute('class'), true); + csDoneOnce = true; +} + else if (matchDomain('foreignaffairs.com')) { window.setTimeout(function () { let paywall = document.querySelector('.paywall'); diff --git a/custom/manifest.json b/custom/manifest.json index 12ff671..f59e00c 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.3.1.1" + "version": "3.3.1.2" } diff --git a/manifest.json b/manifest.json index f2431d5..4652ffe 100644 --- a/manifest.json +++ b/manifest.json @@ -792,5 +792,5 @@ "*://*.wyleex.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.3.1.1" + "version": "3.3.1.2" } diff --git a/sites.js b/sites.js index e1ea673..7a530a5 100644 --- a/sites.js +++ b/sites.js @@ -656,8 +656,7 @@ var defaultSites = { "Forbes": { domain: "forbes.com", allow_cookies: 1, - block_js_inline: /\.forbes\.com\/sites\//, - block_regex: /(\.tinypass\.com\/|\.blueconic\.net\/)/ + block_regex: /(\.forbes\.com\/zephr\/feature|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/ }, "Foreign Affairs": { domain: "foreignaffairs.com",