mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:17:46 +01:00
Fix Mediapart.fr (en/es)
This commit is contained in:
parent
196ba07745
commit
73ccdf5fc4
4 changed files with 5 additions and 5 deletions
|
@ -452,7 +452,7 @@ Grouped in options:\
|
|||
[Les Échos](https://www.lesechos.fr) -
|
||||
[Les Inrockuptibles](https://www.lesinrocks.com) -
|
||||
[Marianne](https://www.marianne.net) -
|
||||
[Mediapart](https://www.mediapart.fr) -
|
||||
[Mediapart (fr/en/es)](https://www.mediapart.fr) -
|
||||
[Paris Match](https://www.parismatch.com) -
|
||||
[Philonomist (fr/en)](https://www.philonomist.com) -
|
||||
[Science & Vie](https://www.science-et-vie.com) -
|
||||
|
|
|
@ -1549,12 +1549,12 @@ else if (matchDomain('marianne.net')) {
|
|||
|
||||
else if (matchDomain('mediapart.fr')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div[id^="paywall_"]');
|
||||
let paywall = document.querySelector('div[id^="paywall_"], div.offre-basique');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
csDoneOnce = true;
|
||||
let url_cache = 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0];
|
||||
replaceDomElementExt(url_cache, true, false, 'div.paywall-restricted-content');
|
||||
replaceDomElementExt(url_cache, true, false, 'div.paywall-restricted-content, div.content-article');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -730,5 +730,5 @@
|
|||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.9.1.3"
|
||||
"version": "2.9.1.4"
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"Mediapart.fr": {
|
||||
"domain": "mediapart.fr",
|
||||
"allow_cookies": 1,
|
||||
"ld_google_webcache": "div[id^=\"paywall_\"]|div.paywall-restricted-content",
|
||||
"ld_google_webcache": "div[id^=\"paywall_\"], div.offre-basique|div.paywall-restricted-content, div.content-article",
|
||||
"new_site": 1
|
||||
},
|
||||
"Outdoor Life": {
|
||||
|
|
Loading…
Reference in a new issue