title: Call URL before closing of Browser Window
body: <p>I want to call an URL in the unload-Function of a Webpage but in the unload-function the get request is not working. My code looks like this:</p>
  
  <pre><code>$(window).unload( function () { 
     jQuery.get("someurl")
  } );
  </code></pre>
  
  <p>We want to be informed about the closing of the window for some logging of user actions. Is it possible somehow?</p>
  
  <p>If i add an alert() after the jQuery.get(), the Get-Request has enough Time, to do this, but that's not what we prefer. </p>