Fix Mediapart.fr (en/es)

This commit is contained in:
magnolia1234 2022-11-03 08:10:48 +01:00
parent 196ba07745
commit 73ccdf5fc4
4 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

@ -730,5 +730,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.9.1.3"
"version": "2.9.1.4"
}

View file

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