title: javascript: cancel all kinds of requests
body: <p>My website makes a lot of requests. I often need to cancel all current requests, so that the browser is not blocking relevant new requests.</p>
  
  <p>I have 3 kinds of requests:</p>
  
  <ul>
  <li>Ajax</li>
  <li>inserted script-tags (which do JSONP-Communication)</li>
  <li>inserted image-tags (which cause the browser to request data from various servers)</li>
  </ul>
  
  <p>For Ajax its no problem as the XMLHttpRequest object supports canceling.
  What I need is a way to make any browser stop loading resources, from DOM-Objects.</p>
  
  <p>Looks like simply removing an object (eg. an image-tag) from the DOM only helps avoiding an request, if the request is not already running.</p>
  
  <p><strong>UPDATE:</strong> a way to cancel all requests, which are irrelevant, instead of really any request would be perfect. </p>