thunderbird / thunderbird/developer-docs

Required permission for tabs.executeScript()

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

Nobody has claimed this yet.

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

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.

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.