Page 1 of 1

Allow to set shortcuts for the WebExtension version

Posted: Sun May 20, 2018 10:03 pm
by palme
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.

Re: Allow to set shortcuts for the WebExtension version

Posted: Fri May 25, 2018 12:11 pm
by David_L
I requested that feature in this topic, and was told that it wasn't possible:
https://forums.informaction.com/viewtop ... =7&t=24316

Re: Allow to set shortcuts for the WebExtension version

Posted: Fri May 25, 2018 9:00 pm
by Giorgio Maone
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?

Re: Allow to set shortcuts for the WebExtension version

Posted: Fri May 25, 2018 9:40 pm
by David_L
in case of conflict they couldn't be relocated
What kind of conflicts can occur?

Re: Allow to set shortcuts for the WebExtension version

Posted: Fri May 25, 2018 9:46 pm
by Giorgio Maone
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.

Re: Allow to set shortcuts for the WebExtension version

Posted: Fri May 25, 2018 10:33 pm
by David_L
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?

Re: Allow to set shortcuts for the WebExtension version

Posted: Sat May 26, 2018 12:32 am
by Giorgio Maone
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 :(

Re: Allow to set shortcuts for the WebExtension version

Posted: Sun May 27, 2018 4:01 am
by David_L
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?

Re: Allow to set shortcuts for the WebExtension version

Posted: Sun May 27, 2018 6:54 am
by Giorgio Maone
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.