this post was submitted on 04 Oct 2023
79 points (98.8% liked)
Firefox
20485 readers
21 users here now
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It just isn’t easy. You can read permissions and try to read the source, but it requires some expertise.
For smaller extensions, you can start by looking at the
manifest.json
as this file is the entry point. You can see which part of the code needs access to 'everything' and go from there.https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json
For example, with Instance Assistant for Lemmy, you need to give access to all sites because it needs to run on any Lemmy site and that's not something you can hardcode in.