Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Permissions

Raymond Hill edited this page Apr 22, 2014 · 24 revisions

HTTP Switchboard ("HTTPSB") requires the following permissions to work properly:

"permissions": [
    "browsingData",
    "contentSettings",
    "contextMenus",
    "cookies",
    "downloads",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webNavigation",
    "webRequest",
    "webRequestBlocking",
    "http://*/*",
    "https://*/*"
],
  • browsingData: to allow clearing the browser cache.
  • contentSettings: to enable javascript for all web pages so that the HTTPSB can fully control execution of javascript using the Content-Security-Policy: script-src 'none' header directive.
  • contextMenus: to insert HTTPSB often-used commands in the context menu.
  • cookies: to allow the removal of blocked cookies.
  • downloads: to allow backing up data to user-selected files.
  • storage: to store your own whitelist/blacklist domains/objects.
  • tabs: to enable forcing a reload of the content of a tab (when the content of the whitelist/blacklist change).
  • unlimitedStorage: to allow a user to update various assets used by HTTPSB (like preset blacklists, preset recipes, etc.) by fetching the latest versions from Github and saving them locally. Currently, HTTPSB limits itself to 24MB.
  • webNavigation: to listen to onBeforeNavigate events in order to set up HTTPSB's internal data structure for a specific web page.
  • webRequest: to allow intercepting all requests in order to inspect them.
  • webRequestBlocking: to be able to block a request if the object of the request is blacklisted.
  • http://*/* & https://*/*: to be able to inspect HTTP net requests for all URLs (necessary in order to decide whether a block directive should be enforced).
Clone this wiki locally