This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 435
About the required permissions
Raymond Hill edited this page Jul 29, 2014
·
25 revisions
- To be able to inspect all net requests so that they can be cancelled if needed.
- Only on
http
- andhttps
-based URL addresses.
See code:
This is necessary to be able to:
- Create new tabs (when you click on a filter list, to see its content)
- To detect when a tab is added or removed:
- To update badge
- To flush from memory internal data structures
- To find out which tab is currently active (to fill popup menu with associated stats/settings)
- To be able to inject the element picker script
- To implement the popup-blocker
See code:
- https://github.com/gorhill/uBlock/search?q=%22chrome.tabs%22&type=Code
- https://github.com/gorhill/uBlock/search?q=%22chrome.webNavigation%22&type=Code
- To be able to save your filters locally (in the "Your filters" tab in the dashboard)
- To be able to save your whitelist sites locally (in the "Whitelist" tab in the dashboard)
- (Future) to be able to back up all your data (from the "About" tab, just like in HTTP Switchboard)
See code: