From 7d21a1ed924517c3041925da2a82d90a078983fc Mon Sep 17 00:00:00 2001 From: Thomas Rientjes Date: Wed, 23 Aug 2017 11:29:35 -0400 Subject: [PATCH] Fix issue related to network prediction --- audit/package-lock.json | 2 +- core/main.js | 2 ++ manifest.json | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/audit/package-lock.json b/audit/package-lock.json index 1cc810f..88ac7d2 100644 --- a/audit/package-lock.json +++ b/audit/package-lock.json @@ -1,6 +1,6 @@ { "name": "decentraleyes-audit", - "version": "1.4.0", + "version": "1.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/core/main.js b/core/main.js index d8b047d..a90baf5 100644 --- a/core/main.js +++ b/core/main.js @@ -31,6 +31,8 @@ if (typeof chrome.browserAction.setBadgeBackgroundColor !== 'function') { }); } +chrome.privacy.network.networkPredictionEnabled.set({'value': false}); + chrome.browserAction.setBadgeBackgroundColor({ 'color': [74, 130, 108, 255] }); diff --git a/manifest.json b/manifest.json index bfe9fee..76371ad 100644 --- a/manifest.json +++ b/manifest.json @@ -17,6 +17,7 @@ "permissions": [ "*://*/*", + "privacy", "storage", "tabs", "webNavigation",