Add Leeuwarder Courant & Dagblad van het Noorden

Local Dutch newspapers.
This commit is contained in:
magnolia1234 2020-02-12 18:55:28 +01:00 committed by GitHub
parent 8495afb389
commit 629b253ee2
4 changed files with 15 additions and 0 deletions

View file

@ -157,10 +157,12 @@
[PZC](https://www.pzc.nl) - [PZC](https://www.pzc.nl) -
[Stentor](https://www.destentor.nl) - [Stentor](https://www.destentor.nl) -
[Tubantia](https://tubantia.nl)\ [Tubantia](https://tubantia.nl)\
[Dagblad van het Noorden](https://www.dvhn.nl) -
[De Morgen](https://www.demorgen.be) - [De Morgen](https://www.demorgen.be) -
[De Tijd](https://www.tijd.be) - [De Tijd](https://www.tijd.be) -
[Groene Amsterdammer](https://www.groene.nl) - [Groene Amsterdammer](https://www.groene.nl) -
[Het Financieel Dagblad](https://fd.nl) - [Het Financieel Dagblad](https://fd.nl) -
[Leeuwarder Courant](https://www.lc.nl) -
[NRC Handelsblad](https://www.nrc.nl) - [NRC Handelsblad](https://www.nrc.nl) -
[Parool](https://www.parool.nl) - [Parool](https://www.parool.nl) -
[Telegraaf](https://www.telegraaf.nl) - [Telegraaf](https://www.telegraaf.nl) -
@ -237,6 +239,7 @@ You can submit a request for a new website [here](https://github.com/magnolia123
### Troubleshooting ### Troubleshooting
* This add-on works best alongside [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/). * This add-on works best alongside [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/).
* If a site doesn't work try turning off uBlock and refreshing. * If a site doesn't work try turning off uBlock and refreshing.
* Make sure the (new) site is checked under Options.
### Changelog ### Changelog
* Visit the [releases page](https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases). * Visit the [releases page](https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases).

View file

@ -22,6 +22,7 @@ var allow_cookies = [
'couriermail.com.au', 'couriermail.com.au',
'dailytelegraph.com.au', 'dailytelegraph.com.au',
'dn.se', 'dn.se',
'dvhn.nl',
'elmercurio.com', 'elmercurio.com',
'fd.nl', 'fd.nl',
'folha.uol.com.br', 'folha.uol.com.br',
@ -32,6 +33,7 @@ var allow_cookies = [
'heraldsun.com.au', 'heraldsun.com.au',
'kleinezeitung.at', 'kleinezeitung.at',
'lemonde.fr', 'lemonde.fr',
'lc.nl',
'lrb.co.uk', 'lrb.co.uk',
'mexiconewsdaily.com', 'mexiconewsdaily.com',
'modernhealthcare.com', 'modernhealthcare.com',

View file

@ -424,6 +424,14 @@ if (window.location.href.indexOf("thesaturdaypaper.com.au") !== -1) {
expand_button.click(); expand_button.click();
} }
if (window.location.href.indexOf("lc.nl") !== -1 || window.location.href.indexOf("dvhn.nl") !== -1) {
document.addEventListener('DOMContentLoaded', () => {
const preview = document.querySelector('.preview');
if (preview)
location.href = location.href + '?harvest_referrer=https%3A%2F%2Fnos.nl%2Fplus.html';
});
}
// General Functions // General Functions
function removeDOMElement(...elements) { function removeDOMElement(...elements) {
for (let element of elements) { for (let element of elements) {

View file

@ -17,6 +17,7 @@
"CommonWealth Magazine Taiwan": "cw.com.tw", "CommonWealth Magazine Taiwan": "cw.com.tw",
"Corriere Della Sera": "corriere.it", "Corriere Della Sera": "corriere.it",
"Crain's Chicago Business": "chicagobusiness.com", "Crain's Chicago Business": "chicagobusiness.com",
"Dagblad van het Noorden": "dvhn.nl",
"Dagens Nyheter": "dn.se", "Dagens Nyheter": "dn.se",
"Daily Press": "dailypress.com", "Daily Press": "dailypress.com",
"Dark Reading": "darkreading.com", "Dark Reading": "darkreading.com",
@ -57,6 +58,7 @@
"Le Journal du Dimanche": "lejdd.fr", "Le Journal du Dimanche": "lejdd.fr",
"Le Monde": "lemonde.fr", "Le Monde": "lemonde.fr",
"Le Parisien": "leparisien.fr", "Le Parisien": "leparisien.fr",
"Leeuwarder Courant": "lc.nl",
"Les Échos": "lesechos.fr", "Les Échos": "lesechos.fr",
"Libération (free articles only)": "liberation.fr", "Libération (free articles only)": "liberation.fr",
"Loeb Classical Library": "loebclassics.com", "Loeb Classical Library": "loebclassics.com",