Skip to content

Commit

Permalink
fix: Remove unneeded tabs permission from manifest.
Browse files Browse the repository at this point in the history
As per https://developer.chrome.com/extensions/tabs the permission
is only needed if accessing sensitive tab information like URL or title.
rikaikun only needs chrome.tabs for sending messages which works fine.

TESTED: Manually tested core behavior.
Fixes #152
  • Loading branch information
melink14 committed Sep 6, 2020
1 parent f33579d commit af1f89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "A port of rikaichan for chrome. Translate Japanese by hovering over words.",
"icons": { "48": "images/icon48.png", "128": "images/icon128.png" },

"permissions": ["tabs", "clipboardWrite", "storage"],
"permissions": ["clipboardWrite", "storage"],

"background": {
"page": "background.html",
Expand Down

0 comments on commit af1f89d

Please sign in to comment.