Fix WSJ (reformatting)

Maintain cookies to prevent reformatting at every new page.
This commit is contained in:
magnolia1234 2019-12-08 18:30:05 +01:00 committed by GitHub
parent f71831f677
commit de33b534b0

View File

@ -93,7 +93,7 @@ var defaultSites = {
'Trouw': 'trouw.nl', 'Trouw': 'trouw.nl',
'Vanity Fair': 'vanityfair.com', 'Vanity Fair': 'vanityfair.com',
'Vrij Nederland': 'vn.nl', 'Vrij Nederland': 'vn.nl',
'Wired': 'wired.com' 'Wired': 'wired.com',
}; };
const restrictions = { const restrictions = {
@ -148,6 +148,7 @@ const allow_cookies = [
const remove_cookies = [ const remove_cookies = [
'ad.nl', 'ad.nl',
'asia.nikkei.com', 'asia.nikkei.com',
'bloombergquint.com',
'bostonglobe.com', 'bostonglobe.com',
'cen.acs.org', 'cen.acs.org',
'chicagobusiness.com', 'chicagobusiness.com',
@ -178,15 +179,12 @@ const remove_cookies = [
'thestar.com', 'thestar.com',
'towardsdatascience.com', 'towardsdatascience.com',
'vn.nl', 'vn.nl',
'washingtonpost.com', 'washingtonpost.com'
'wsj.com',
'bloombergquint.com'
] ]
// select specific cookie(s) to hold from remove_cookies domains // select specific cookie(s) to hold from remove_cookies domains
const remove_cookies_select_hold = { const remove_cookies_select_hold = {
'washingtonpost.com': ['wp_gdpr'], 'washingtonpost.com': ['wp_gdpr']
'wsj.com': ['wsjregion']
} }
// select only specific cookie(s) to drop from remove_cookies domains // select only specific cookie(s) to drop from remove_cookies domains