Does anybody know if it is possible to check what page a user is leaving for when the OnBeforeUnload event fires. I want to notify users when they are actually leaving the current page but not when they are just reloading it.
Nooo, that would be a huge security hole if the browser told the webpage where the user was going. I suppose it wouldn't be a problem if the webpage were told only exactly what it is you want to know -- this is/is not a reload -- but nope, I can't see how you could figure that out.