Ctrl+S preventDefault in Chrome
问题 I Want to catch Ctrl + S in Chrome, and prevent the default browser behavior to save the page. How? (Just posting the question & answer as I was after this for a pretty long time and didn't find a solution) 回答1: As far as I can see, the secret sauce is, that Ctrl + S does NOT fire the keypress event, only the keydown event. Using jQuery.hotkeys: $(document).bind('keydown', 'ctrl+s', function(e) { e.preventDefault(); alert('Ctrl+S'); return false; }); Only with jQuery: $(document).bind(