From 511ed72ffabdc3b76b0449713966f69b04bdb849 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 25 Jan 2020 14:56:18 +0100 Subject: [PATCH] Fix London Review of Books (allow cookies) --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 9e60925c..86c3e7d0 100644 --- a/background.js +++ b/background.js @@ -19,6 +19,7 @@ const allow_cookies = [ 'haaretz.com', 'handelsblatt.com', 'lemonde.fr', +'lrb.co.uk', 'nknews.org', 'nytimes.com', 'parool.nl', @@ -111,7 +112,7 @@ const userAgentMobile = "Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible ; var enabledSites = []; // Get the enabled sites (from local storage) & add to allow/remove_cookies (if not already in one of these arrays) -chrome.storage.sync.get({ +browser.storage.sync.get({ sites: {} }, function(items) { var sites = items.sites;