title: Can't get correct div positions with jQuery .unload() and .position() in Firefox
body: <p>I'm using the <code>unload</code> event to save the positions of <code>draggable</code> divs to <code>localStorage</code></p>
  
  <p>This seems to work well with the browsers who support both the <code>unload</code> event and HTML5 Web Storage, except for Firefox (13.0 beta).</p>
  
  <p>In Firefox the unload event fires as expected when refreshing the page and gets all the top and left positions of the divs correctly. But when the unload event is triggered by closing the tab, all the positions are returned as 0.</p>
  
  <p>Anyone know why? Am I better to use <code>onbeforeunload</code> maybe?</p>
  
  <p>You can test it with this fiddle <a href="http://jsfiddle.net/fhfXh/8/" rel="nofollow">http://jsfiddle.net/fhfXh/8/</a>.</p>