From 933e7d3e54ce788f1686ab9175e11f11d9fcc064 Mon Sep 17 00:00:00 2001 From: Rustem Mussabekov Date: Fri, 18 Oct 2019 19:38:30 +0300 Subject: [PATCH] Fix browserAction star highlight --- internals/buildversion.txt | 2 +- internals/manifest.js | 4 ++-- src/config/manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internals/buildversion.txt b/internals/buildversion.txt index c047c4a..7c2b018 100644 --- a/internals/buildversion.txt +++ b/internals/buildversion.txt @@ -1 +1 @@ -518 \ No newline at end of file +521 \ No newline at end of file diff --git a/internals/manifest.js b/internals/manifest.js index 40a8d25..6d4b59b 100644 --- a/internals/manifest.js +++ b/internals/manifest.js @@ -91,8 +91,8 @@ var m = { let temp = [...value] //Firefox do not support 'activeTab' as expected - if (global.platform == "firefox") - temp = temp.map(v=>v=='activeTab' ? 'tabs' : v) + //if (global.platform == "firefox") + // temp = temp.map(v=>v=='activeTab' ? 'tabs' : v) // maybe need also: // "*://*/*", diff --git a/src/config/manifest.json b/src/config/manifest.json index 7d35287..18a8fad 100644 --- a/src/config/manifest.json +++ b/src/config/manifest.json @@ -69,7 +69,7 @@ "permissions": [ "contextMenus", "notifications", - "activeTab" + "tabs" ], "content_scripts": [