title: Keyup event listener fires when enter is pressed on Chrome's Ominbox
body: <p>In chrome browser, when using this snippet:</p>
  
  <pre><code>  $(document).on('keyup', function(){
      alert("Hey");
    });
  </code></pre>
  
  <p>Every time I press <code>enter</code> in the url bar (for example when I cut and paste the url of the page itself) the event listener fires.
  Why does it happen?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>It surprised me because url bar is not in <code>document</code> (maybe in <code>window</code>?) and firefox does not have this behaviour. When I look for <code>e.target</code>, Chrome Inspector shows <code>body</code>.</p>
  
  <p>I thought this could be caused by event bubbling so I tried this:</p>
  
  <pre><code>  $(document).on('keyup', function(e){
      e.stopPropagation();
      alert("Hey");
    });
  </code></pre>
  
  <p>But it doesn't work.
  How can I prevent it from being triggered?</p>