mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:57:48 +01:00
Add Le Journal du Net.fr
This commit is contained in:
parent
d4d838635e
commit
927ff48241
4 changed files with 12 additions and 0 deletions
|
@ -164,6 +164,7 @@ Install add-on by downloading xpi-file.
|
|||
[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)* –
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -134,6 +134,7 @@
|
|||
"*://*.lecho.be/*",
|
||||
"*://*.ledevoir.com/*",
|
||||
"*://*.lejdd.fr/*",
|
||||
"*://*.journaldunet.com/*",
|
||||
"*://*.leparisien.fr/*",
|
||||
"*://*.lescienze.it/*",
|
||||
"*://*.lesechos.fr (free articles only)/*",
|
||||
|
|
1
sites.js
1
sites.js
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue