javascript - Why this handler is not restricted to CTRL+L? -


i have xbl handler following signature:

<handler event="keypress" modifiers="control" keycode="dom_vk_l"> 

as see, should fired when user press ctrl+l. but, reason, fires when user press ctrl+.

why? , how make work exclusively ctrl+l?

there's no such attribute keycode in current standard.
if meant implementation, not follow standard, should mention in question text.

and if speak mozilla xbl1.0, need use 1 followings:

<handler event="keyup" modifiers="control" keycode="dom_vk_l"> <handler event="keypress" modifiers="control" charcode="108"> 

108 ascii code small l.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -