diff --git a/changelog.txt b/changelog.txt index 4205348c..ff65e11d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,7 +3,8 @@ Changelog Bypass Paywalls Clean - Firefox Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases Post-release -` +Fix Tes Magazine (css) + * v3.3.2.0 (2023-09-03) Add Beleggersbelangen.nl (Roularta) Add Revista Oeste (Brazil) diff --git a/contentScript.js b/contentScript.js index 3830d60e..c2e541cc 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3010,6 +3010,13 @@ else if (matchDomain('telegraph.co.uk')) { } else if (matchDomain('tes.com')) { + let paywall = document.querySelector('div.tg-paywall-message'); + if (paywall) { + removeDOMElement(paywall); + let overlay = document.querySelector('div.tg-paywall-body-overlay'); + if (overlay) + overlay.removeAttribute('class'); + } let banner = document.querySelector('div.js-paywall-info'); removeDOMElement(banner); } diff --git a/custom/manifest.json b/custom/manifest.json index f3ad66b2..435b52d6 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.3.2.0" + "version": "3.3.2.1" } diff --git a/manifest.json b/manifest.json index b0021d40..7ba6f56a 100644 --- a/manifest.json +++ b/manifest.json @@ -796,5 +796,5 @@ "*://*.wyleex.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.3.2.0" + "version": "3.3.2.1" } diff --git a/sites_updated.json b/sites_updated.json index ac957b5a..87d9d3a1 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -82,6 +82,12 @@ "block_regex": "\\.scientificamerican\\.com\\/api\\/tinypass\\.min\\.js", "upd_version": "3.3.1.4" }, + "Tes Magazine": { + "domain": "tes.com", + "remove_cookies_select_drop": ["tg_paywall"], + "cs_code": "[{\"cond\":\"div.tg-paywall-message\", \"rm_elem\": 1, \"elems\":[{\"cond\":\"div.tg-paywall-body-overlay\", \"rm_attrib\": \"class\"}]}]", + "upd_version": "3.3.2.1" + }, "The Athletic": { "domain": "###_usa_theathletic", "group": [