Add Leeuwarder Courant & Dagblad van het Noorden

Local Dutch newspapers.
This commit is contained in:
magnolia1234 2020-02-12 18:45:26 +01:00 committed by GitHub
parent ba4f93ea89
commit 03491e3d93
4 changed files with 16 additions and 2 deletions

View File

@ -183,10 +183,12 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
[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) -
@ -261,7 +263,7 @@ You can submit a request for a new website [here](https://github.com/magnolia123
### Troubleshooting ### Troubleshooting
* This extension works best alongside [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm). * This extension works best alongside [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm).
* If a site doesn't work, try turning off uBlock and refreshing. Also try reinstalling the extension. * If a site doesn't work, try turning off uBlock and refreshing. Also try reinstalling the extension.
* Make sure the site is checked under Options (on macOS sometimes the sites are unselected). * Make sure the (new) site is checked under Options (on macOS sometimes the sites are unselected).
* Make sure you're running the last version of Bypass Paywalls Clean. * Make sure you're running the last version of Bypass Paywalls Clean.
* If none of these work, you can submit an issue [here](https://github.com/magnolia1234/bypass-paywalls-chrome-clean/issues). * If none of these work, you can submit an issue [here](https://github.com/magnolia1234/bypass-paywalls-chrome-clean/issues).

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',
@ -126,8 +128,8 @@ var blockedRegexes = {
'chicagotribune.com': /.+:\/\/.+\.tribdss\.com\//, 'chicagotribune.com': /.+:\/\/.+\.tribdss\.com\//,
'digiday.com': /.+\.tinypass\.com\/.+/, 'digiday.com': /.+\.tinypass\.com\/.+/,
'economist.com': /(.+\.tinypass\.com\/.+|economist\.com\/_next\/static\/runtime\/main.+\.js)/, 'economist.com': /(.+\.tinypass\.com\/.+|economist\.com\/_next\/static\/runtime\/main.+\.js)/,
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
'elmercurio.com': /merreader\.emol\.cl\/assets\/js\/vendor\/modal\.js/, 'elmercurio.com': /merreader\.emol\.cl\/assets\/js\/vendor\/modal\.js/,
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
'exame.abril.com.br': /.+\.tinypass\.com\/.+/, 'exame.abril.com.br': /.+\.tinypass\.com\/.+/,
'folha.uol.com.br': /.+\.folha\.uol\.com\.br\/paywall\/js\/.+\/publicidade\.ads\.js/, 'folha.uol.com.br': /.+\.folha\.uol\.com\.br\/paywall\/js\/.+\/publicidade\.ads\.js/,
'globo.com': /.+\.tinypass\.com\/.+/, 'globo.com': /.+\.tinypass\.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",