From e65c2939757f09db646d277b82da8690aaf3adbc Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 30 May 2015 06:49:38 -0400 Subject: [PATCH] this fixes https://github.com/gorhill/uMatrix/issues/234 --- platform/chromium/manifest.json | 1 + platform/chromium/vapi-background.js | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 4f3a17b65..7b433816f 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -55,6 +55,7 @@ }, "permissions": [ "contextMenus", + "privacy", "storage", "tabs", "unlimitedStorage", diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 9381cb84d..4c48d4ca0 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -42,6 +42,13 @@ var noopFunc = function(){}; /******************************************************************************/ +// https://github.com/gorhill/uMatrix/issues/234 +// https://developer.chrome.com/extensions/privacy#property-network + +chrome.privacy.network.networkPredictionEnabled.set({ value: false }); + +/******************************************************************************/ + vAPI.app = { name: manifest.name, version: manifest.version