Is there a way to limit when onunload gets invoked? I'd like to have it ignore when someone clicks on a link within a page that redirects them elsewhere. I'd like to to only trigger when they close the window.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.