title: User presence detection with javascript
body: <p>(Hello, I have to detect if the user is in front of his computer with my PHP/Javascript website.
  I am using mouse and keyboard events but they are only working if the website has the focus.
  I would like to detect mouse and keyboard events even if the user is on an other program.</p>
  
  <p>How can I proceed ?</p>