stevelazow
Programmer
I am trying to execute some javascript code only when a window is closed, but not when there is a transition from one page to another. onUnload is the same for both. Is there something that I can access that changes when a user closes the window, but not when he page just changes?