Required permission for tabs.executeScript()

Open Beginner friendly
#244 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Domain
documentation

Research direction

Start with add-ons/hello-world-add-on/using-content-scripts.md around line 57 and compare the example with the tabs WebExtension API documentation linked in the issue. Verify the permission required by tabs.executeScript(), then document it alongside the existing messagesModify note and ensure the example's permissions are accurately explained.

Written by the indexing model from the issue text.

Description

https://github.com/thunderbird/developer-docs/blob/master/add-ons/hello-world-add-on/using-content-scripts.md?plain=1#L57 states that

The messageDisplayScripts API requires the messagesModify permission.

There is no information about which permission tabs.executeScript() (part of the example) requires.

The tabs WebExtension API documentation seems to suggest that it required activeTab. Yet, I found that tabs.executeScript() requires messagesModify as well.

Dominant language
No language data
Stars
114
Forks
86
Avg merge
2h 37m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from thunderbird/developer-docs

All issues in thunderbird/developer-docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.