User:Tarun365/shortcuts.js

importScript('User:Tarun365/keymap.js');//Edit your keymap script here. $("body").keyup(function(event) {  var $target=$(event.target);    if( !($target.is("textarea")||$target.is("input")))//exclude the text areas    {    var selector=keymap[event.which];    alert(event.which);    $(selector)[0].click;//Simulate click event    } });