noscript
noscript copied to clipboard
[feature request] Keyboard shortcuts
It would be nice to get the possibility to set keyboard shortcuts for "temporarily allow all scripts" and "revoke all temporarily permissions"
IIRC this was available before 10.x and it was really useful
It would be nice to add one more shortcut for "set current website as untrusted"
For anyone else who runs into this limitation, there's a little-known feature in Firefox that might help. Firefox allows you to enable keyboard shortcuts for various extensions in the addons settings.
In the "Extension Shortcuts" screen inabout:addons
that @iansinnott has mentioned there is a "Toggle permissions" field, but setting it to any key combo does not seem to have any effect. Changing the "NoScript UI" key shortcut does work though.
https://github.com/hackademix/noscript/blob/984e68e3cf2dc3c9446b608484c4c1bab6f544a6/src/bg/main.js#L110
It looks like it's just stubbed?
https://github.com/hackademix/noscript/blob/984e68e3cf2dc3c9446b608484c4c1bab6f544a6/src/bg/main.js#L110
It looks like it's just stubbed?
Yes it is, because under the new permissions it wasn't obvious what "Toggle permissions for this site" would mean, and how useful it would be.
Maybe I should rename it in "Toggle restrictions for this tab" and turn it into a shortcut to the "Disable/enable restrictions for this tab" feature?