title: How to capture `Ctrl+1` hotkey on Chrome browser keydown event?
body: <p>I'm now developing a website for mindmap manipulation, and now want to make some hotkeys to make operations better.</p>
  <p>In XMind, <code>Ctrl+1</code> stands for adding a label with number 1, but I found the keydown event cannot capture the event. Instead, <code>Ctrl+1</code> leads to activating the first Chrome tab, even though I call the <code>e.preventDefault()</code>.</p>
  <p>So the priority of the chrome browser is the most significant so cannot be intercepted. If I want to make the <code>Ctrl+1</code> hotkey act as expect, is there any solution?</p>
  <pre><code>document.addEventListener('keydown', function(e) {
      if (e.ctrlKey &amp;&amp; e.code === 'Digit1') {
          // ...
          e.preventDefault()
      }
  })
  </code></pre>