RequestPolicy/requestpolicy — Issue #199: add shortcut key to open the menu
Author: jsamuel
Created: 2011-12-22 06:00:25+00:00
State: open
Labels: extension

If there were a shortcut/accelerator key to open the menu, RP could be reasonably used without a mouse. After the menu is open, arrow keys and enter are sufficient to interact with the whitelist.

There are two difficulties/areas of trickiness:
1. Choosing a correct shortcut key. We probably don't have to worry about localization other than making sure that the shortcut we pick isn't already used by default in some locales but not others (and is not used by popular extensions). As this probably won't relate directly to text, it probably won't need to differ between locales unless there are conflicts.
1. Knowing where to open the menu. That is, not only do we need to figure out which RP buttons are visible (toolbar, status/addons bar, both, none), we need to figure out what to do when the answer is "none" or "both".

One option to decrease the need to pick the perfect shortcut key would be to pick a good default but let it also be user-defined.

Related ticket: #47 added shortcut/accelerator keys to the redirect notification.