how to slow down page exit using Javascript?
<p>I want to execute few functions before the page just exits such as logging page exit time.</p>

<p>The <code>onbeforeunload</code> event when used shows a pop-up which I don't want.</p>

<p>Somehow when an outbound link is clicked, it should enter a function, fetch the link <code>href</code>, execute and then exit the page.</p>

<p>Without using <code>JQuery</code>.</p>

<p>Is this possible?</p>
