title: Overriding Browser's Keyboard Shortcuts
body: <p>I'd like to add support for keyboard shortcuts to a couple of pages in my web application by intercepting the keypress event handler of the document object, not the accesskey attribute.</p>
  
  <p>The problem is that every browser has its own keyboard combinations, so it's impossible to come up with a set of keyboard combinations that work on all web browsers and yet consistent.(e.g. It'd be silly if the shortcut for save was <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd> while one for delete was <kbd>Alt</kbd> + <kbd>D</kbd>.)</p>
  
  <p>So I figured it would be just simpler to override browser shortcuts altogether in a couple of pages with mine.</p>
  
  <p>All downside aside, is it possible? If so, how do you do it?</p>