Add LeScienze.it
parent
014d5a13fc
commit
88273e137a
|
@ -190,7 +190,8 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
|
|||
[Corriere Della Sera](https://www.corriere.it) -
|
||||
[Il Messaggero](https://www.ilmessaggero.it) -
|
||||
[La Repubblica](https://www.repubblica.it) -
|
||||
[La Stampa](https://www.lastampa.it)
|
||||
[La Stampa](https://www.lastampa.it) -
|
||||
[Le Scienze](https://www.lescienze.it)
|
||||
##### Netherlands/Flanders
|
||||
[Algemeen Dagblad](https://www.ad.nl) and regional ADR sites like
|
||||
[BN DeStem](https://www.bndestem.nl) -
|
||||
|
|
|
@ -490,6 +490,18 @@ else if (window.location.href.indexOf("barrons.com") !== -1) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('lescienze.it')) {
|
||||
const paywall = document.querySelector('.paywall-adagio');
|
||||
const body_paywall = document.getElementById('detail-body-paywall');
|
||||
const shade = document.querySelector('.shade');
|
||||
removeDOMElement(paywall, body_paywall, shade);
|
||||
const hidden_body = document.querySelectorAll('.detail_body');
|
||||
for (let i = 0; i < hidden_body.length; i++) {
|
||||
hidden_body[i].removeAttribute('hidden');
|
||||
hidden_body[i].setAttribute('style', 'display:block; max-height:auto; overflow:visible');
|
||||
}
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
|
1
sites.js
1
sites.js
|
@ -69,6 +69,7 @@ var defaultSites =
|
|||
"Le Journal du Dimanche": "lejdd.fr",
|
||||
"Le Monde": "lemonde.fr",
|
||||
"Le Parisien": "leparisien.fr",
|
||||
"Le Scienze": "lescienze.it",
|
||||
"Leeuwarder Courant": "lc.nl",
|
||||
"Les Échos (free articles only)": "lesechos.fr",
|
||||
"Libération (free articles only)": "liberation.fr",
|
||||
|
|
Loading…
Reference in New Issue