Fix L'Opinion.fr

master
magnolia1234 2022-08-30 19:15:08 +02:00
parent 11dff7eaeb
commit 4fea5c7150
5 changed files with 16 additions and 2 deletions

View File

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Remove Dark Reading (no paywall)
Fix Australian Community Media (overlay)
Fix L'Opinion.fr
Fix The Toronto Star
* v2.8.2.0 (2022-08-28)

View File

@ -1458,6 +1458,14 @@ else if (matchDomain('loeildelaphotographie.com')) {
else if (matchDomain('lopinion.fr')) {
if (window.location.search.startsWith('?_amp=true'))
amp_unhide_access_hide('="access"', '="NOT access"');
else {
let paywall = document.querySelector('div#poool-widget');
let amphtml = document.querySelector('link[rel="amphtml"]');
if (paywall && amphtml) {
removeDOMElement(paywall);
window.location.href = amphtml.href;
}
}
}
else if (matchDomain('marianne.net')) {

View File

@ -43,5 +43,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.8.2.1"
"version": "2.8.2.2"
}

View File

@ -687,5 +687,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.2.1"
"version": "2.8.2.2"
}

View File

@ -44,6 +44,11 @@
}
]
},
"L'Opinion": {
"domain": "lopinion.fr",
"block_regex": "(\\.poool\\.fr\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"amp_redirect": "div#poool-widget"
},
"La Vie": {
"domain": "lavie.fr",
"allow_cookies": 1,