Add <all_urls> in permissions

We already have full access to all sites via our content script so this permission doesn't add anything new but we need it to be able to establish page connection via tabs.executeScript when the extension is installed, reloaded, re-enabled.

<all_urls> also allows file:// URLs unlike *://*/* used previously. Of course it requires the corresponding checkbox being enabled on chrome://extensions page.
This commit is contained in:
tophf 2017-04-13 12:59:55 +03:00
parent ca911396a1
commit 470bc92da5

View File

@ -15,7 +15,8 @@
"tabs", "tabs",
"webNavigation", "webNavigation",
"contextMenus", "contextMenus",
"storage" "storage",
"<all_urls>"
], ],
"background": { "background": {
"scripts": ["messaging.js", "storage.js", "prefs.js", "background.js", "update.js"] "scripts": ["messaging.js", "storage.js", "prefs.js", "background.js", "update.js"]