一个用于实现网页上监听键盘事件的js库
示例代码
shortcut.add("Ctrl+B",function() { //增加一个监听事件 alert("Bold"); }); //移除监听事件 shortcut.remove("Ctrl+B");