Add Le Journal du Net.fr

This commit is contained in:
magnolia1234 2020-05-02 09:15:33 +02:00
parent 49193a7a8e
commit 8685c51196
3 changed files with 11 additions and 0 deletions

View File

@ -191,6 +191,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
[L'Opinion](https://www.lopinion.fr)
[La Dépêche](https://www.ladepeche.fr)
[Le Journal du Dimanche](https://lejdd.fr)
[Le Journal du Net](https://www.journaldunet.com) -
[Le Parisien](https://www.leparisien.fr) -
[Les Échos](https://www.lesechos.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
function removeDOMElement(...elements) {
for (let element of elements) {

View File

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