title: How to check if HTTP requests are open in browser?
body: <p>Is there an easy way to detect if an <code>XMLHttpRequest</code> is active in the browser window? Or how many are active? ie. Is there a way to detect if there are any AJAX calls active in my browser window?</p>
  <p><strong>Extension of question:</strong> Using javascript is there a way I can see if any XMLHttpRequests are open? Such as <code>&quot;window.XMLisActive()&quot;</code> or something like that?</p>
  <p>Solution: Ended up writing a wrapper for <code>XMLHttpRequest</code>: <a href="https://gist.github.com/1820380" rel="nofollow noreferrer">gist here</a></p>