title: How to detect browser "minimized" and "maximized" state in JavaScript?
body: <p>I am trying to find the browser <em>minimized</em> and <em>maximized</em> states, as I want to hit the AJAX request accordingly the browser state.</p>
  <p>Does anyone know how do I detect the browser state using JavaScript?</p>