Dutch papers/magazines

Dutch papers: ad.nl, ed.nl (cookie fix), parool.nl, trouw.nl, volkskrant.nl
Dutch magazines: groene.nl, vn.nl

Removed leftover cookie setting for fd.nl (hard paywall)
This commit is contained in:
magnolia1234 2019-09-25 15:31:37 +02:00 committed by GitHub
parent 1d9aa41324
commit cc7097a8a1
3 changed files with 25 additions and 6 deletions

View File

@ -15,6 +15,7 @@
### Bypass the following sites' paywalls with this extension
[Algemeen Dagblad](https://www.ad.nl)\
[American Banker](https://americanbanker.com)\
[Baltimore Sun](https://www.baltimoresun.com)\
[Barron's](https://www.barrons.com)\
@ -25,6 +26,8 @@
[Crain's Chicago Business](https://www.chicagobusiness.com)\
[Dagens Nyheter](https://dn.se)\
[Daily Press](https://www.dailypress.com)\
[De Groene Amsterdammer](https://www.groene.nl)\
[De Volkskrant](https://www.volkskrant.nl)\
[DeMorgen](https://demorgen.be)\
[Denver Post](https://www.denverpost.com)\
[Dynamed Plus](https://dynamed.com)\
@ -55,7 +58,8 @@
[New Zealand Herald](https://www.nzherald.co.nz)\
[Newsrep](https://thenewsrep.com)\
[Nikkei Asian Review](https://asia.nikkei.com)\
[Orlando Sentinel](https://www.orlandosentinel.com)\
[Orlando Sentinel](https://www.orlandosentinel.com
[Parool](https://www.parool.nl)\
[Quartz](https://qz.com)\
[Quora](https://www.quora.com)\
[San Francisco Chronicle](https://sfchronicle.com)\
@ -90,6 +94,7 @@
[The Wall Street Journal](https://www.wsj.com)\
[The Washington Post](https://www.washingtonpost.com)\
[TheMarker](https://www.themarker.com)\
[Trouw](https://www.trouw.nl)\
[Vanity Fair](https://www.vanityfair.com)\
[Winston-Salem Journal](https://journalnow.com)\
[Wired](https://www.wired.com)\

View File

@ -1,6 +1,7 @@
'use strict';
var defaultSites = {
'Algemeen Dagblad': 'ad.nl',
'American Banker': 'americanbanker.com',
'Baltimore Sun': 'baltimoresun.com',
'Barron\'s': 'barrons.com',
@ -11,6 +12,7 @@ var defaultSites = {
'Corriere Della Sera': 'corriere.it',
'Daily Press': 'dailypress.com',
'Dagens Nyheter': 'dn.se',
'De Groene Amsterdammer': 'groene.nl',
'DeMorgen': 'demorgen.be',
'Denver Post': 'denverpost.com',
'Dynamed Plus': 'dynamed.com',
@ -42,7 +44,7 @@ var defaultSites = {
'Nikkei Asian Review': 'asia.nikkei.com',
'NRC': 'nrc.nl',
'New Zealand Herald': 'nzherald.co.nz',
'OrlandoSentinel': 'orlandosentinel.com',
'OrlandoSentinel': 'orlandosentinel.com',
'Quartz': 'qz.com',
'Quora': 'quora.com',
'San Francisco Chronicle': 'sfchronicle.com',
@ -92,7 +94,12 @@ const allow_cookies = [
'nytimes.com',
'wsj.com',
'ft.com',
'fd.nl',
'ad.nl',
'ed.nl',
'parool.nl',
'trouw.nl',
'vn.nl',
'volkskrant.nl',
'mercurynews.com',
'theage.com.au',
'economist.com',
@ -115,9 +122,10 @@ const allow_cookies = [
// Removes cookies after page load
const remove_cookies = [
'asia.nikkei.com',
'ad.nl',
'ed.nl',
'vn.nl',
'ft.com',
'fd.nl',
'mercurynews.com',
'theage.com.au',
'economist.com',
@ -245,7 +253,7 @@ chrome.webRequest.onBeforeRequest.addListener(function(details) {
return {cancel: true};
},
{
urls: ["*://*.thestar.com/*", "*://*.economist.com/*", "*://*.theglobeandmail.com/*", "*://*.afr.com/*", "*://*.bizjournals.com/*", "*://*.businessinsider.com/*", "*://*.bostonglobe.com/*"],
urls: ["*://*.thestar.com/*", "*://*.economist.com/*", "*://*.theglobeandmail.com/*", "*://*.afr.com/*", "*://*.bizjournals.com/*", "*://*.businessinsider.com/*", "*://*.bostonglobe.com/*", "*://*.trouw.nl/*", "*://*.parool.nl/*", "*://*.volkskrant.nl/*"],
types: ["script"]
},
["blocking"]

View File

@ -1,5 +1,6 @@
var defaultSites = {
'American Banker': 'americanbanker.com',
'Algemeen Dagblad': 'ad.nl',
'American Banker': 'americanbanker.com',
'Baltimore Sun': 'baltimoresun.com',
'Barron\'s': 'barrons.com',
'Bloomberg': 'bloomberg.com',
@ -9,6 +10,8 @@ var defaultSites = {
'Corriere Della Sera': 'corriere.it',
'Daily Press': 'dailypress.com',
'Dagens Nyheter': 'dn.se',
'De Groene Amsterdammer': 'groene.nl',
'De Volkskrant (javascript disabled)': 'volkskrant.nl',
'DeMorgen': 'demorgen.be',
'Denver Post': 'denverpost.com',
'Dynamed Plus': 'dynamed.com',
@ -41,6 +44,7 @@ var defaultSites = {
'NRC': 'nrc.nl',
'New Zealand Herald': 'nzherald.co.nz',
'OrlandoSentinel': 'orlandosentinel.com',
'Parool (javascript disabled)': 'parool.nl',
'Quartz': 'qz.com',
'Quora': 'quora.com',
'San Francisco Chronicle': 'sfchronicle.com',
@ -74,8 +78,10 @@ var defaultSites = {
'The Toronto Star (javascript disabled)': 'thestar.com',
'The Washington Post': 'washingtonpost.com',
'The Wall Street Journal': 'wsj.com',
'Trouw (javascript disabled)': 'trouw.nl',
'Winston-Salem Journal': 'journalnow.com',
'Vanity Fair': 'vanityfair.com',
'Vrij Nederland': 'vn.nl',
'Wired': 'wired.com',
'Zeit Online': 'zeit.de'
};