How to detect window closing event when user press Alt+F4 or using javascript window.close() in Gecko based browsers?
I think, it will 'onbeforeunload' fire when a new page get loaded.
Rajeesh
2010-02-22 08:21:51