mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Add Haz.de & Lvz.de
This commit is contained in:
parent
88d2e2be7b
commit
13e0849c4f
@ -218,6 +218,8 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid.
|
||||
[Die Zeit](https://www.zeit.de) -
|
||||
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
|
||||
[Handelsblatt](https://www.handelsblatt.com) -
|
||||
[Hannoversche Allgemeine Zeitung](https://www.haz.de) -
|
||||
[Leipziger Volkszeitung](https://www.lvz.de) -
|
||||
[Neue Ruhr Zeitung](https://www.nrz.de) -
|
||||
[Süddeutsche Zeitung](https://www.sueddeutsche.de) -
|
||||
[Westdeutsche Allgemeine Zeitung](https://www.waz.de) -
|
||||
|
@ -64,6 +64,7 @@ var allow_cookies = [
|
||||
'nzz.ch',
|
||||
'parool.nl',
|
||||
'quora.com',
|
||||
'repubblica.it',
|
||||
'rollingstone.com',
|
||||
'scribd.com',
|
||||
'seekingalpha.com',
|
||||
|
@ -2,6 +2,8 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Hannoversche Allgemeine Zeitung
|
||||
Add Leipziger Volkszeitung
|
||||
Add Neue Ruhr Zeitung
|
||||
Add Westdeutsche Allgemeine Zeitung
|
||||
Add Westfalenpost
|
||||
|
@ -1144,6 +1144,22 @@ else if (matchDomain(["nrz.de", "wp.de", "wr.de", "waz.de"])) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(["haz.de", "lvz.de"])) {
|
||||
let paidcontent_intro = document.querySelector('div.pdb-article-body-paidcontentintro');
|
||||
if (paidcontent_intro) {
|
||||
paidcontent_intro.classList.remove('pdb-article-body-paidcontentintro');
|
||||
let json_script = document.querySelector('div.pdb-article > script[type="application/ld+json"]');
|
||||
let json_text = JSON.parse(json_script.text).articleBody;
|
||||
if (json_text) {
|
||||
let pdb_richtext_field = document.querySelectorAll('div.pdb-richtext-field');
|
||||
if (pdb_richtext_field[1])
|
||||
pdb_richtext_field[1].innerText = json_text;
|
||||
}
|
||||
let paidcontent_reg = document.querySelector('div.pdb-article-paidcontent-registration');
|
||||
removeDOMElement(paidcontent_reg);
|
||||
}
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
@ -122,6 +122,7 @@
|
||||
"*://*.haaretz.com/*",
|
||||
"*://*.handelsblatt.com/*",
|
||||
"*://*.harpers.org/*",
|
||||
"*://*.haz.de/*",
|
||||
"*://*.hbr.org/*",
|
||||
"*://*.hbrtaiwan.com/*",
|
||||
"*://*.heraldsun.com.au/*",
|
||||
@ -163,6 +164,7 @@
|
||||
"*://*.loebclassics.com/*",
|
||||
"*://*.lopinion.fr/*",
|
||||
"*://*.lrb.co.uk/*",
|
||||
"*://*.lvz.de/*",
|
||||
"*://*.mcall.com/*",
|
||||
"*://*.medium.com/*",
|
||||
"*://*.mercuriovalpo.cl/*",
|
||||
@ -317,5 +319,5 @@
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.8.4"
|
||||
"version": "1.8.8.5"
|
||||
}
|
@ -40,5 +40,5 @@
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.8.4"
|
||||
"version": "1.8.8.5"
|
||||
}
|
2
sites.js
2
sites.js
@ -65,6 +65,7 @@ var defaultSites =
|
||||
"Haaretz English": "haaretz.com",
|
||||
"Haaretz": "haaretz.co.il",
|
||||
"Handelsblatt": "handelsblatt.com",
|
||||
"Hannoversche Allgemeine Zeitung": "haz.de",
|
||||
"Harper's Magazine": "harpers.org",
|
||||
"Hartford Courant": "courant.com",
|
||||
"Harvard Business Review": "hbr.org",
|
||||
@ -93,6 +94,7 @@ var defaultSites =
|
||||
"Le Scienze": "lescienze.it",
|
||||
"Le Soir": "lesoir.be",
|
||||
"Leeuwarder Courant": "lc.nl",
|
||||
"Leipziger Volkszeitung": "lvz.de",
|
||||
"Les Échos": "lesechos.fr",
|
||||
"Libération (free articles only)": "liberation.fr",
|
||||
"LimesOnline": "limesonline.com",
|
||||
|
Loading…
Reference in New Issue
Block a user