-
Notifications
You must be signed in to change notification settings - Fork 47
Explanation of Permissions
###Permission (as shown by the web browser)
#####Read and change all your data on the websites you visit
This is caused by the <all_urls>
permission in the manifest.json
file. The extension does not modify the page, except create hooks to media in JavaScript and modify HTMLMediaElement.
#####Read your browsing history
This extension does not have access to your browsing history. This message is most likely caused by the <all_urls>
or webNavigation
permission declared in the manifest.json
file. Both of these permissions give me indrect access to the a tab's URL. I use the URL from webNavigation
only for [Mode Rules](Modes and Mode Rules).
###Permissions declared in the manifest.json file #####webNavigation Used for the following:
- Detect when a tab navigates to a new page, so the extension can set the correct [Mode](Modes and Mode Rules) for the page.
- Run content scripts on the page, which disables autoplaying on the page. Content scripts are not run if the Mode is set to disable nothing.
#####<all_urls>
Used to run content scripts via chrome.tabs.executeScript
. Content scripts are what disable autoplaying.
#####storage Used to have access to the local storage, so your options can be saved.
#####unlimitedStorage Used to have unlimited local storage to prevent a length restriction on Mode Rules List.
###Background script #####"persistent": true Used so the extension can keep track of the tab states and Mode settings.