javascript detect browser close tab/close browser
<p>any cross browser javascript/jquery to detect if browser is closing tab or closed browser ? and should not activate event when go to other link?  </p>
