Fix Tes Magazine (css)

This commit is contained in:
magnolia1234 2023-09-04 08:08:43 +02:00
parent bb824a125f
commit a535b12b3c
5 changed files with 17 additions and 3 deletions

View File

@ -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)

View File

@ -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);
}

View File

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.2.0"
"version": "3.3.2.1"
}

View File

@ -796,5 +796,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.2.0"
"version": "3.3.2.1"
}

View File

@ -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": [