mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:27:48 +01:00
Fix Le Devoir (cookie)
This commit is contained in:
parent
fd39edd014
commit
2a1b1ab831
6 changed files with 16 additions and 9 deletions
|
@ -24,6 +24,7 @@ var restrictions = {
|
|||
'faz.net': /^((?!\.faz\.net\/aktuell\/(\?switchfaznet)?$).)*$/,
|
||||
'globo.com': /^((?!\/valor\.globo\.com\/).)*$/,
|
||||
'lastampa.it': /^((?!\/video\.lastampa\.it\/).)*$/,
|
||||
'theatlantic.com': /^((?!\/newsletters\.theatlantic\.com\/).)*$/,
|
||||
'nytimes.com': /^((?!\/timesmachine\.nytimes\.com\/).)*$/,
|
||||
'science.org': /^((?!\.science\.org\/doi\/).)*$/,
|
||||
'timesofindia.com': /\.timesofindia\.com($|\/($|toi-plus(\/.+)?|.+\.cms))/,
|
||||
|
|
|
@ -7,6 +7,7 @@ Add StuDocu (no downloads)
|
|||
Remove The Ken (fix not working)
|
||||
Fix Foreign Affairs (js)
|
||||
Fix Krautreporter.de
|
||||
Fix Le Devoir (cookie)
|
||||
Fix Scientific American (magazine)
|
||||
|
||||
* v2.7.6.0 (2022-07-17)
|
||||
|
|
|
@ -1194,7 +1194,7 @@ else if (matchDomain('politicaexterior.com')) {
|
|||
else
|
||||
csDone = true;
|
||||
|
||||
} else if (window.location.hostname.endsWith('.fr') || matchDomain(['bienpublic.com', 'connaissancedesarts.com', 'journaldunet.com', 'la-croix.com', 'lavenir.net', 'ledauphine.com', 'ledevoir.com', 'lesinrocks.com', 'lejsl.com', 'loeildelaphotographie.com', 'marianne.net', 'nouvelobs.com', 'parismatch.com', 'science-et-vie.com'].concat(fr_groupe_nice_matin_domains))) {//france
|
||||
} else if (window.location.hostname.endsWith('.fr') || matchDomain(['bienpublic.com', 'connaissancedesarts.com', 'journaldunet.com', 'la-croix.com', 'lavenir.net', 'ledauphine.com', 'lesinrocks.com', 'lejsl.com', 'loeildelaphotographie.com', 'marianne.net', 'nouvelobs.com', 'parismatch.com', 'science-et-vie.com'].concat(fr_groupe_nice_matin_domains))) {//france
|
||||
|
||||
if (matchDomain('alternatives-economiques.fr')) {
|
||||
window.setTimeout(function () {
|
||||
|
@ -1344,11 +1344,6 @@ else if (matchDomain('lavenir.net')) {
|
|||
removeDOMElement(...ads);
|
||||
}
|
||||
|
||||
else if (matchDomain('ledevoir.com')) {
|
||||
let counter = document.querySelector('.popup-msg');
|
||||
removeDOMElement(counter);
|
||||
}
|
||||
|
||||
else if (matchDomain(['lejdd.fr', 'parismatch.com'])) {
|
||||
let poool_banner = document.querySelector('#poool-container');
|
||||
let forbidden = document.querySelector('.forbidden');
|
||||
|
@ -3091,6 +3086,11 @@ else if (matchDomain('law360.com')) {
|
|||
}, 500);
|
||||
}
|
||||
|
||||
else if (matchDomain('ledevoir.com')) {
|
||||
let counter = document.querySelector('.paywall-breakpoint-wrapper');
|
||||
removeDOMElement(counter);
|
||||
}
|
||||
|
||||
else if (matchDomain('livelaw.in')) {
|
||||
let paywall = document.querySelector('div#subscription_paid_message, div.subscribeNow');
|
||||
if (paywall) {
|
||||
|
|
|
@ -694,5 +694,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.6.5"
|
||||
"version": "2.7.6.6"
|
||||
}
|
||||
|
|
4
sites.js
4
sites.js
|
@ -1009,8 +1009,8 @@ var defaultSites = {
|
|||
},
|
||||
"Le Devoir": {
|
||||
domain: "ledevoir.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.tinypass\.com\//
|
||||
block_regex: /\.tinypass\.com\//,
|
||||
remove_cookies_select_drop: ["pw6"]
|
||||
},
|
||||
"Le Journal du Dimanche": {
|
||||
domain: "lejdd.fr",
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"Le Devoir": {
|
||||
"domain": "ledevoir.com",
|
||||
"block_regex": "\\.tinypass\\.com\\/",
|
||||
"remove_cookies_select_drop": ["pw6"]
|
||||
},
|
||||
"NRC Handelsblad": {
|
||||
"domain": "nrc.nl",
|
||||
"remove_cookies_select_drop": ["counter"],
|
||||
|
|
Loading…
Reference in a new issue