title: how can I detect changes in document.hidden with javascript/jquery?
body: <p>I want to run some code when <code>document.hidden</code> is changed from <code>false</code> to <code>true</code>.</p>
  
  <p>How can I do it?</p>