Questions tagged [onunload]

198 questions
-1
votes
2 answers

How can I get the destination url of a link on the web page in the Javascript onbeforeunload event?

Is it possible to capture what link on the web page the user clicked on? Not talking about if they manually entered an url in the address bar or if they clicked on the back button - but an existing link or menu item on the current page. This is for…
TheSteven
  • 900
  • 8
  • 23
-1
votes
2 answers

Browser close event For Firefox not working

In my application i have to alert user to signout on browser close. For that i have used the javascript as below