I have used following commands in my browser.xul to set a shortcut for my addon.
<keyset id="mainKeyset">
<key id="key_convert"
modifiers="accel"
keycode="VK_F12"
oncommand="myfunction()" />"
</keyset>
It used to work for previous versions of Firefox, but not anymore for newer versions. has anything changed in the syntax?
Thanks