Add Connaissance des Arts (France)

This commit is contained in:
magnolia1234 2022-03-10 20:02:19 +01:00
parent e07260f983
commit 20e20da161
6 changed files with 21 additions and 3 deletions

View File

@ -351,9 +351,10 @@ Grouped in options:\
##### France/Wallonia
[Alternatives Economiques](https://www.alternatives-economiques.fr) -
[Atlantico](https://atlantico.fr) -
[Causeur](https://www.causeur.fr) -
[Challenges](https://www.challenges.fr) -
[Charlie Hebdo](https://charliehebdo.fr) -
[Causeur](https://www.causeur.fr) -
[Connaissance des Arts](https://www.connaissancedesarts.com) -
[Elle](https://www.elle.fr) -
[Esprit](https://esprit.presse.fr) -
[L'Équipe](https://www.lequipe.fr) -

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Connaissance des Arts (France)
Add LaMontagne.fr
Fix American Affairs (js)
Fix Bloomberg

View File

@ -1119,7 +1119,7 @@ else if (matchDomain('politicaexterior.com')) {
else
csDone = true;
} else if (window.location.hostname.endsWith('.fr') || matchDomain(['bienpublic.com', 'journaldunet.com', 'la-croix.com', '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', '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
if (matchDomain('alternatives-economiques.fr')) {
window.setTimeout(function () {
@ -1164,6 +1164,11 @@ else if (matchDomain('charliehebdo.fr')) {
}, 500);
}
else if (matchDomain('connaissancedesarts.com')) {
let ads = document.querySelectorAll('div.ad-container');
removeDOMElement(...ads);
}
else if (matchDomain('elle.fr')) {
if (window.location.hostname.startsWith('amp.')) {
amp_unhide_access_hide('="poool.access OR cmi_premium.access"');

View File

@ -130,6 +130,7 @@
"*://*.cmjornal.pt/*",
"*://*.codesports.com.au/*",
"*://*.commentary.org/*",
"*://*.connaissancedesarts.com/*",
"*://*.corriere.it/*",
"*://*.corriereadriatico.it/*",
"*://*.courant.com/*",
@ -633,5 +634,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.5.9.3"
"version": "2.5.9.4"
}

View File

@ -250,6 +250,11 @@ var defaultSites = {
block_regex: "(journey\\.{domain}\\/build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)",
useragent: "googlebot"
},
"Connaissance des Arts": {
domain: "connaissancedesarts.com",
allow_cookies: 1,
block_regex: /\.connaissancedesarts\.com\/wp-content\/cache\/.+\.js/
},
"Correio da Manhã": {
domain: "cmjornal.pt",
allow_cookies: 1,

View File

@ -15,6 +15,11 @@
"allow_cookies": 1,
"block_regex": "\\.qiota\\.com\\/"
},
"Connaissance des Arts": {
"domain": "connaissancedesarts.com",
"allow_cookies": 1,
"block_regex": "\\.connaissancedesarts\\.com\\/wp-content\\/cache\\/.+\\.js"
},
"Financial Times (not Chinese)": {
"domain": "ft.com",
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|ad|subscriptions)-.+\\.js",