Allow to set shortcuts for the WebExtension version

Bug reports and enhancement requests
Post Reply
palme
Junior Member
Posts: 34
Joined: Thu Sep 16, 2010 1:05 pm

Allow to set shortcuts for the WebExtension version

Post by palme » Sun May 20, 2018 10:03 pm

Please allow to set shortcuts for the WebExtension version to allow to "Revoke Temporary Persmissions" and to "Set All on this page to Temporary TRUSTED". The none WebExtension version supported this with about:config options. Would be nice to get this feature back.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

David_L
Posts: 18
Joined: Fri Dec 29, 2017 5:53 pm

Re: Allow to set shortcuts for the WebExtension version

Post by David_L » Fri May 25, 2018 12:11 pm

I requested that feature in this topic, and was told that it wasn't possible:
https://forums.informaction.com/viewtop ... =7&t=24316
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

User avatar
Giorgio Maone
Site Admin
Posts: 8735
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow to set shortcuts for the WebExtension version

Post by Giorgio Maone » Fri May 25, 2018 9:00 pm

It's not possible to make them configurable.
They must be specified statically in the manifest file of the extension, so we need to be very careful in choosing them because in case of conflict they couldn't be relocated.
Have you got any idea?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

David_L
Posts: 18
Joined: Fri Dec 29, 2017 5:53 pm

Re: Allow to set shortcuts for the WebExtension version

Post by David_L » Fri May 25, 2018 9:40 pm

in case of conflict they couldn't be relocated
What kind of conflicts can occur?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

User avatar
Giorgio Maone
Site Admin
Posts: 8735
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow to set shortcuts for the WebExtension version

Post by Giorgio Maone » Fri May 25, 2018 9:46 pm

David_L wrote:
in case of conflict they couldn't be relocated
What kind of conflicts can occur?
The same shortcut for a Firefox built-in feature or used by another extension.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

David_L
Posts: 18
Joined: Fri Dec 29, 2017 5:53 pm

Re: Allow to set shortcuts for the WebExtension version

Post by David_L » Fri May 25, 2018 10:33 pm

And it's not possible to have toolbar icons for "Temporarily allow all this page" and "Revoke Temporary Permissions"? A WebExtension is permitted only one toolbar icon?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

User avatar
Giorgio Maone
Site Admin
Posts: 8735
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow to set shortcuts for the WebExtension version

Post by Giorgio Maone » Sat May 26, 2018 12:32 am

David_L wrote:And it's not possible to have toolbar icons for "Temporarily allow all this page" and "Revoke Temporary Permissions"? A WebExtension is permitted only one toolbar icon?
Exactly :(
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

David_L
Posts: 18
Joined: Fri Dec 29, 2017 5:53 pm

Re: Allow to set shortcuts for the WebExtension version

Post by David_L » Sun May 27, 2018 4:01 am

Can WebExtensions communicate with each other? Would it be possible, for example, to create a "Revoke Temporary Permissions" WebExtension that tells NoScript to perform that function?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

User avatar
Giorgio Maone
Site Admin
Posts: 8735
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allow to set shortcuts for the WebExtension version

Post by Giorgio Maone » Sun May 27, 2018 6:54 am

David_L wrote:Can WebExtensions communicate with each other? Would it be possible, for example, to create a "Revoke Temporary Permissions" WebExtension that tells NoScript to perform that function?
Yes, in theory. In practice, especially for "permissive" actions, allowing this would be a security hole.
And actually, in practice, using onConnectExternal it could by "hardwired" to certain specific extensions, thus it should be doable in a safe way but if you do it you must ask me to "whitelist" your extension.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

Post Reply