score:3

Accepted answer
function handleKeyDown( e ) {
  if ( e.ctrlKey && e.keyCode === 68 ) {  // ctrl + d
      // this works, BUT it also triggers Google Chrome's bookmark shortcut
      console.log('Ctrl+D');
  }
  e.preventDefault();
}

Related Query

More Query from same tag