Fix Challenges.fr & Sciences et Avenir.fr

This commit is contained in:
magnolia1234 2023-05-27 08:54:23 +02:00
parent e983b6f58c
commit 75177b25c8
4 changed files with 5 additions and 7 deletions

View File

@ -6,6 +6,7 @@ Post-release
Add GauchaZH
Add VmnMedia.nl Group (opt-in to custom sites)
Remove Weltkunst.de (fix obsolete)
Fix Challenges.fr & Sciences et Avenir.fr
Fix Defector (cookie)
Fix Mediahuis Noord (json)
Fix Quora (AI bot crash)

View File

@ -1385,11 +1385,8 @@ else if (matchDomain(['challenges.fr', 'sciencesetavenir.fr'])) {
if (window.location.pathname.endsWith('.amp')) {
amp_unhide_access_hide('="paywall.access OR cha.access"', '="NOT (paywall.access OR cha.access)"');
} else {
let amorce = document.querySelector('.amorce');
if (matchDomain('sciencesetavenir.fr'))
hideDOMElement(amorce);
else if (amorce)
amorce.classList.remove('amorce');
let amorce = document.querySelector('div.amorce.manual');
hideDOMElement(amorce);
let content = document.querySelectorAll('.user-paying-content');
for (let elem of content) {
elem.classList.remove('user-paying-content');

View File

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.1.9.6"
"version": "3.1.9.7"
}

View File

@ -752,5 +752,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.1.9.6"
"version": "3.1.9.7"
}