Bazooka_Tano
Strollin' around
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
โ21-09-2024
07:08 AM
Status:
New idea
Users can toggle an extension's optional permissions in about:addons
Problem:
They can disable a permission the extension currently needs, or enable a permission it currently doesn't need.
When a user does this, it would be great if the extension could warn him.
All the extension needs for this are permissions.onAdded and permissions.onRemoved listeners.
Problem:
The listeners know which permissions were added/removed, but they dont know who added/removed the permissions.
- the user in about:addons
- the extension with permissions.remove() or permissions.request()
Suggestion:
Add a "byUser" parameter to the listener signatures.
- old:
function permissionsOnAddedListener(permissions: permissions.Permissions) {} - new:
function permissionsOnAddedListener(permissions: permissions.Permissions, byUser: boolean) {}
See more ideas labeled with:
1 Comment