noscript icon indicating copy to clipboard operation
noscript copied to clipboard

[feature request] Keyboard shortcuts

Open RedirectCleaner opened this issue 6 years ago • 6 comments

It would be nice to get the possibility to set keyboard shortcuts for "temporarily allow all scripts" and "revoke all temporarily permissions"

RedirectCleaner avatar Dec 18 '18 15:12 RedirectCleaner

IIRC this was available before 10.x and it was really useful

apiraino avatar Feb 10 '19 15:02 apiraino

It would be nice to add one more shortcut for "set current website as untrusted"

schrodog avatar Feb 15 '19 06:02 schrodog

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.

2020-08-09 at 2 59 PM

iansinnott avatar Aug 09 '20 07:08 iansinnott

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.

exquo avatar May 04 '21 09:05 exquo

https://github.com/hackademix/noscript/blob/984e68e3cf2dc3c9446b608484c4c1bab6f544a6/src/bg/main.js#L110

It looks like it's just stubbed?

nickdevereaux avatar Sep 26 '21 22:09 nickdevereaux

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?

hackademix avatar Sep 27 '21 07:09 hackademix