title: Prevent Chrome's default keydown event
body: <p>On the latest release of Chrome (Version 30.0.1599.101 m), how do I prevent the default behavior of keyboard shortcuts.</p>
  <p>For example, <kbd>CTRL</kbd>+<kbd>W</kbd> closes the current tab. I want to assign this shortcut for user action, say to pop up alert box.</p>
  <pre><code>$('body').on('keydown', 'ctrl+w', function(e) {
      alert(Hello, world);
      e.preventDefault();
      e.stopPropagation();
  });
  </code></pre>
  <p>On Chrome, this closes the tab. But works as expected in Firefox.</p>
  <p>Is there a workaround to prevent Chrome's default behavior?</p>