Add LaDepeche.fr

merge-requests/1/head
magnolia1234 4 years ago committed by GitHub
parent 8897993af8
commit abbae732c6

@ -147,6 +147,7 @@
##### France/Wallonia
[Challenges](https://www.challenges.fr)
[L'Écho](https://lecho.be) -
[La Dépêche](https://www.ladepeche.fr)
[Le Journal du Dimanche](https://lejdd.fr)
[Le Monde](https://www.lemonde.fr) -
[Le Parisien](https://www.leparisien.fr) -

@ -150,6 +150,7 @@ var blockedRegexes = {
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,
'haaretz.com': /haaretz\.com\/hdc\/web\/js\/minified\/header-scripts-int.js.+/,
'inquirer.com': /.+\.tinypass\.com\/.+/,
'ladepeche.fr': /.+\.poool\.fr\/.+/,
'lastampa.it': /.+\.repstatic\.it\/minify\/sites\/lastampa\/.+\/config\.cache\.php\?name=social_js/,
'lejdd.fr': /.+\.swisspay\.ch\/.+/,
'leparisien.fr': /.+\.tinypass\.com\/.+/,

@ -440,6 +440,14 @@ if (window.location.href.indexOf("americanaffairsjournal.org") !== -1) {
removeDOMElement(paywall_bar);
}
if (window.location.href.indexOf('ladepeche.fr') !== -1) {
document.addEventListener('DOMContentLoaded', () => {
const hidden_section = document.querySelector('.article-full__body-content');
if (hidden_section)
hidden_section.classList.remove('article-full__body-content');
});
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {

@ -58,6 +58,7 @@ var defaultSites =
"Illawarra Mercury": "illawarramercury.com.au",
"Kleine Zeitung": "kleinezeitung.at",
"L'Écho": "lecho.be",
"La Dépêche": "ladepeche.fr",
"La Nación": "lanacion.com.ar",
"La Repubblica": "repubblica.it",
"La Stampa": "lastampa.it",

Loading…
Cancel
Save