[Greasemonkey] accel keys in menu commands only work inside the
document?
Ryan Barrett
greasemonkey at ryanb.org
Sat May 21 04:00:53 EDT 2005
hi all. nikolas, thanks for adding accelerator support to
GM_registerMenuCommand! it's highly appreciated.
however, the accelerator keys only seem to work if the document has the
focus. if the location box, search box, or something else has the focus,
pressing the accelerator key won't invoke the menu command. accelerator
keys for other commands, e.g. Ctrl-I for Page Info, work even if the
document doesn't have the focus.
is this a known issue, or is it intentional?
-Ryan
p.s. you're probably well aware of this, and i doubt it matters...but just
in case, accelerator keys are displayed differently in normal menu items
than in User Script Commands menu items. in normal menu items, the format
is "Ctrl+I"; in items under User Script Commands, it's "<ctrl> + i".
--
http://ryan.barrett.name/
More information about the Greasemonkey
mailing list