Fix L'Opinion.fr
This commit is contained in:
parent
11dff7eaeb
commit
4fea5c7150
@ -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)
|
||||
|
@ -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')) {
|
||||
|
@ -43,5 +43,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.8.2.1"
|
||||
"version": "2.8.2.2"
|
||||
}
|
||||
|
@ -687,5 +687,5 @@
|
||||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.8.2.1"
|
||||
"version": "2.8.2.2"
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user