Skip to content

Conversation

@runningcheese
Copy link

@runningcheese runningcheese commented Apr 3, 2018

reupload!!!

zh_CN.zip

@ettoolong
Copy link
Owner

Please rebase you code and push them to correct branch, thanks.

ettoolong and others added 16 commits April 18, 2018 11:31
According to the documentation, `tabs` permission is only needed when reading URL, title or favicon from a tab. None of this is required for this extension, so this permission can be safely removed. After this change, the browser will tell the user this extension doesn't need any special permission.

If this extension ever needs such kind of privilege, it should instead declare `activeTab` permission, that grants extra access only to the current tab and only when the extension is used.

* https://developer.chrome.com/extensions/windows
* https://developer.chrome.com/extensions/tabs
* https://developer.chrome.com/extensions/activeTab
* https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs
* https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions#activeTab_permission

Bonus: for convenience, I've also bumped the version number to 0.1.0.

This commit is the firefox version of the pull-request #20

Sidenote: it would be nice to merge both firefox and chrome codebases into a single branch.
Removing "tabs" permission (firefox)
add note about contributing translations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants