Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tab-to-the-right/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"service_worker": "background.js"
},
"permissions": [
"storage",
"tabs"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot How does the extension rearrange tabs without this permission? Can you explain with links to the code?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. It still works because the extension only uses tab operations + non-sensitive tab fields, which are allowed without the tabs permission.

Code paths:

It does not read restricted fields like url, title, favIconUrl, etc., so broad tabs permission is unnecessary here. The permission change is in commit 012afc9.

"storage"
],
"icons": {"48": "go-jump.png"},
"options_ui": {
Expand Down