Fix L'Express.fr

This commit is contained in:
magnolia1234 2022-12-17 10:04:08 +01:00
parent 2e41b49c1c
commit 5da796c1ac
6 changed files with 19 additions and 6 deletions

View file

@ -169,7 +169,7 @@ Grouped in options:\
[StuDocu](https://www.studocu.com)
##### Magazines/Blogs
[Medium](https://www.medium.com)* -
[Medium](https://www.medium.com) -
[Substack](https://substack.com)\
Grouped in options:\
*Medium custom domains* like (opt-in to custom sites for unlisted)\

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix L'Express.fr
Fix MIT Sloan Management Review
Update block general paywall script (TownNews & fix Pigeon)
Update custom flex sites (identify main domain)

View file

@ -741,7 +741,7 @@ else if (matchDomain('tagesspiegel.de')) {
else if (matchDomain('welt.de')) {
let url = window.location.href;
let paywall = document.querySelector('div[data-premium-content-loader-id^="spinner-article-"]');
let paywall = document.querySelector('div.contains_walled_content');
if (paywall) {
removeDOMElement(paywall);
let article = document.querySelector('div[data-qa="Article.PremiumContent"]');
@ -4321,7 +4321,7 @@ else if ((domain = matchDomain(usa_mcc_domains)) ||
else if (matchDomain(usa_mng_domains) || (window.location.href.match(/\.com\/(\d){4}\/(\d){2}\/(\d){2}\/.+\/amp\//) && document.querySelector('amp-img#paywall[src*=".com/wp-content/plugins/dfm-amp-mods/"]'))) {
if (window.location.pathname.endsWith('/amp/')) {
amp_unhide_subscr_section('amp-ad, amp-embed');
amp_unhide_subscr_section('amp-ad, amp-embed, div.ampWrapperInside');
}
}

View file

@ -713,5 +713,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.9.7.6"
"version": "2.9.7.7"
}

View file

@ -1001,7 +1001,7 @@ var defaultSites = {
"L'Express": {
domain: "lexpress.fr",
allow_cookies: 1,
block_regex: /\.qiota\.com\//
block_regex: /\.qiota\.com\/data\/.+\/data\.json/
},
"L'Humanité": {
domain: "humanite.fr",
@ -2248,7 +2248,8 @@ var defaultSites = {
"Qiota": {
domain: "qiota.com",
allow_cookies: 1,
block_regex_general: /\.qiota\.com\//
block_regex_general: /\.qiota\.com\//,
excluded_domains: ["lexpress.fr"]
},
"TinyPass": {
domain: "tinypass.com",

View file

@ -1,4 +1,9 @@
{
"L'Express": {
"domain": "lexpress.fr",
"allow_cookies": 1,
"block_regex": "\\.qiota\\.com\\/data\\/.+\\/data\\.json"
},
"Neue Osnabrücker Zeitung": {
"domain": "noz.de",
"allow_cookies": 1,
@ -14,5 +19,11 @@
"domain": "washingtonpost.com",
"allow_cookies": 1,
"block_regex": "\\.washingtonpost\\.com\\/tetro\\/metering\\/evaluate"
},
"Qiota": {
"domain": "qiota.com",
"allow_cookies": 1,
"block_regex_general": "\\.qiota\\.com\\/",
"excluded_domains": ["lexpress.fr"]
}
}