This is helpful, but I can't tell from looking at the solution if it will have an impact in cases of users clicking reload, or entering a URL from the Browser's address box.
Idealy the process I imagine should go something like this: When the unload event occurs, the function is then called...
Hi.
I'm trying to develop a way that I can redirect the browser to a friendly "goodbye" page when they leave the site, but I want it to be based on entering a URL from a source other than my server.
I have tried using the OnUload tactic and it seems to fire prematurely (when returning...
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.