manifest - Why does my chrome extension ask for history permissions? -
in manifest.json
file, have nothing explicitly listed reading user's history, however, warning comes when try install extension.
here manifest file:
{ "manifest_version": 2, "name": "queuetube youtube!", "short_name": "queuetube", "description": "search youtube without stopping video, , make own playlists!", "version": "1.5", "author": "dara javaherian", "permissions": ["tabs", "*://*.youtube.com/*"], "background": { "persistent":true, "scripts": [ "bg/socket.io.js", "bg/background.js" ] }, "icons": { "128": "icons/youtube-128.png" }, "browser_action": { "default_icon": "icons/icon.png", "default_popup": "popup/popup.html" }, "web_accessible_resources": [ "spinner.gif" ], "content_scripts" : [{ "matches" : ["https://www.youtube.com/*", "http://www.youtube.com/*"], "js" : [ "js/jquery.js", "js/inject.js"], "css" : ["styles/styles.css"] }] }
does know why permission showing up?
this standard warning "tabs"
permission.
it allows query, , notified of changes, urls of tabs. allows spy on user's history in real time - if don't have access browser's own history log.
note "tabs"
permission is not required in cases. providing access urls reason include it. can use of tabs
api without it, , can access current tab without warning using the "activetab"
permission.
Comments
Post a Comment