title: Minimize Browser Event
body: <p>I have read <a href="https://stackoverflow.com/questions/10328665/how-to-detect-browser-minimize-and-maximize-state-in-javascript">How to detect browser minimize and maximize state in javascript</a> post, but it is getting the state of a browser. But is there any event that triggers when a browser is minimize and maximize like <code>resize()</code> or something ?</p>
  
  <p>I think there is other-way-around like to check <code>document.hidden</code> state periodically using <code>setInterval()</code> but this is not I want. I want clean and clear way that run on all new browsers.</p>