window.onunload fires and then the user clicks stop
<p>Here is the flow I am trying to figure out.</p>

<ul>
<li>User hits my page.</li>
<li>User clicks a link and <code>onbeforeunload</code> and <code>unload</code> get fired. Here i am getting rid of href in some of my links.</li>
<li>The page now hangs for a little bit giving the user a chance to hit the stop button in the browser.</li>
<li>Since the page is still on the original page (not the new page that was requested and then stopped) the hrefs are still blank.</li>
</ul>

<p>Is there any way of knowing if the user clicks a stop button and they are still on the same page?</p>

<p>The only way I can think off the top of my head is to put a setTimeout in the <code>onbeforeunload</code> or <code>unload</code> but I don't really like that because there are too many variables for it still being messed up.</p>
