From ca9d11e532cd7703084e8295690e4c04baafffa1 Mon Sep 17 00:00:00 2001 From: William Parry Date: Tue, 6 Feb 2018 11:06:22 +1100 Subject: [PATCH] Upgrade permissions fix Explicitly removing them is unnecessary (it appears to remove them when updating). Was throwing error 'You cannot remove required permissions.' --- src/js/model.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/js/model.js b/src/js/model.js index 080370e..1630d94 100644 --- a/src/js/model.js +++ b/src/js/model.js @@ -214,11 +214,6 @@ function Model() { }); } - if(versionCompare("2.1.3", checkVersion) > 0) { - chrome.permissions.remove({ - permissions: ['', 'clipboardWrite', 'clipboardRead', 'tabs'] - }); - } }