title: Check Pending AJAX requests or HTTP GET/POST request
body: <p>How do i check if the page has pending AJAX or HTTP GET/POST requests? I use javascript and/or python for this checking. </p>
  
  <p>what i wanted to do is execute a script if a page has finished all requests. onload doesn't work for me, if you used firebugs net panel, you would know. onload fires when the page is loaded but there is a possibility that there are still pending request hanging around somewhere.</p>
  
  <p>thank you in advance.</p>