Add Le Journal du Net.fr

This commit is contained in:
magnolia1234 2020-05-02 09:16:41 +02:00
parent d4d838635e
commit 927ff48241
4 changed files with 12 additions and 0 deletions

View file

@ -164,6 +164,7 @@ Install add-on by downloading xpi-file.
[L'Opinion](https://www.lopinion.fr) [L'Opinion](https://www.lopinion.fr)
[La Dépêche](https://www.ladepeche.fr) [La Dépêche](https://www.ladepeche.fr)
[Le Journal du Dimanche](https://lejdd.fr) [Le Journal du Dimanche](https://lejdd.fr)
[Le Journal du Net](https://www.journaldunet.com) -
[Le Parisien](https://www.leparisien.fr) - [Le Parisien](https://www.leparisien.fr) -
[Les Échos](https://www.lesechos.fr) - [Les Échos](https://www.lesechos.fr) -
[Libération](https://www.liberation.fr)* [Libération](https://www.liberation.fr)*

View file

@ -603,6 +603,15 @@ else if (matchDomain('gestion.pe')) {
} }
} }
else if (matchDomain('journaldunet.com')) {
const reg_wall = document.querySelector('.reg_wall');
removeDOMElement(reg_wall);
const entry_reg_wall = document.querySelector('.entry_reg_wall');
if (entry_reg_wall) {
entry_reg_wall.removeAttribute('style');
}
}
// General Functions // General Functions
function removeDOMElement(...elements) { function removeDOMElement(...elements) {
for (let element of elements) { for (let element of elements) {

View file

@ -134,6 +134,7 @@
"*://*.lecho.be/*", "*://*.lecho.be/*",
"*://*.ledevoir.com/*", "*://*.ledevoir.com/*",
"*://*.lejdd.fr/*", "*://*.lejdd.fr/*",
"*://*.journaldunet.com/*",
"*://*.leparisien.fr/*", "*://*.leparisien.fr/*",
"*://*.lescienze.it/*", "*://*.lescienze.it/*",
"*://*.lesechos.fr (free articles only)/*", "*://*.lesechos.fr (free articles only)/*",

View file

@ -70,6 +70,7 @@ var defaultSites =
"La Tercera": "latercera.com", "La Tercera": "latercera.com",
"Le Devoir": "ledevoir.com", "Le Devoir": "ledevoir.com",
"Le Journal du Dimanche": "lejdd.fr", "Le Journal du Dimanche": "lejdd.fr",
"Le Journal du Net": "journaldunet.com",
"Le Parisien": "leparisien.fr", "Le Parisien": "leparisien.fr",
"Le Scienze": "lescienze.it", "Le Scienze": "lescienze.it",
"Leeuwarder Courant": "lc.nl", "Leeuwarder Courant": "lc.nl",