https://code.google.com/p/js-hotkeys/
https://github.com/jeresig/jquery.hotkeys
使用上我的目的在於block ctrl+L 這個hotkey
$(document).bind('keydown', 'ctrl+l', function(e) { e.stopPropagation(); e.preventDefault(); e.returnValue = false; e.keyCode = 0; });
$(document).bind('keydown', 'ctrl+l', function(e) { e.stopPropagation(); e.preventDefault(); e.returnValue = false; e.keyCode = 0; });
0 意見:
張貼留言