Is there a way in javascript to detect if the unload event is caused via a refresh, the back button, or closing the browser?
11878
Identifying Between Refresh And Close Browser Actions
6155
Detect browser or tab closing
141001
How to turn off Reload alerts?
44837
Why is page state not preserved when using browser Back and Forward buttons?
32455
How to create a JavaScript callback for knowing when an image is loaded?
134135
How can I detect if a browser is blocking a popup?
75967
Can you use Javascript to detect a file download window created server side?
123135
Prevent safari loading from cache when back button is clicked
90535
Not checking close()'s return value: how serious, really?
126533
The browser's "Back" button cause problems with the review buttons
1573
Best way to remove an event handler in jQuery?
129265
Any javascript event occurring when user clicks Stop load button?
92315
Best practice for using window.onload
13621
What's the effect of adding 'return false' to a click event listener?
131312
Detect if an element has been resized via javascript?
43156
How to pop-up alert to a user when he/she navigate away from page without saving the Records in custom visual force page?
93392
Determine if $.ajax error is a timeout