diff --git a/README.md b/README.md index 23310d5e..b73051b7 100644 --- a/README.md +++ b/README.md @@ -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) - diff --git a/background.js b/background.js index ad08f8c7..a2199b52 100644 --- a/background.js +++ b/background.js @@ -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\/.+/, diff --git a/contentScript.js b/contentScript.js index 9b44d896..0048f1d5 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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) { diff --git a/sites.js b/sites.js index d08d2b8e..6790f534 100644 --- a/sites.js +++ b/sites.js @@ -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",