From f356ce5a8fd86a8b3ba18eeab060c194840d6d76 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 5 Jan 2020 12:19:53 +0100 Subject: [PATCH] Allow cookies for sites with Googlebot user-agent Also sort Googlebot-sites (double entries) --- background.js | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/background.js b/background.js index 80e21c9..edd504d 100755 --- a/background.js +++ b/background.js @@ -15,14 +15,23 @@ const restrictions = { // Don't remove cookies before page load // allow_cookies are completed with domains in sites(_custom).json (default allow/remove_cookies) var allow_cookies = [ +'barrons.com', +'haaretz.co.il', +'haaretz.com', 'lemonde.fr', +'mexiconewsdaily.com', 'nytimes.com', 'parool.nl', +'prime.economictimes.indiatimes.com', +'quora.com', 'scribd.com', 'techinasia.com', +'telegraph.co.uk', 'the-american-interest.com', 'theathletic.com', 'theaustralian.com.au', +'themarker.com', +'thetimes.co.uk', 'trouw.nl', 'volkskrant.nl', 'wsj.com', @@ -56,20 +65,18 @@ const remove_cookies_select_drop = { const use_google_bot = [ 'barrons.com', 'haaretz.co.il', +'haaretz.com', 'lemonde.fr', 'mexiconewsdaily.com', 'nytimes.com', +'prime.economictimes.indiatimes.com', 'quora.com', 'telegraph.co.uk', +'theathletic.com', 'theaustralian.com.au', 'themarker.com', 'thetimes.co.uk', -'theathletic.com', 'wsj.com', -'haaretz.co.il', -'haaretz.com', -'themarker.com', -'prime.economictimes.indiatimes.com', ] function setDefaultOptions() {