title: Listening for keypress when the browser isn't focused in javascript
body: <p>In an HTML page i'm trying to capture key event (even when the browser isn't focus) to pause/stop a song played in background (in javascript). I tried document.onkeydown but the tab needs to be focused. Is there any way to do this ?</p>
  
  <p>Thanks for your help.</p>