Warren Sarle said the following on 5/9/2006 12:04 AM:
IE and Firefox trigger an unload event when the user closes the browser.
Opera does not trigger any event when the user closes the browser.
IE and Firefox also trigger that same exact unload event when you do any
of the following:
Click a Favorites to navigate away
Type a URL into the Address Bar and click Go
Click the Home button
And that is just three, there are more.
You have *no way* of knowing whether I closed the browser or did one of
the three above so it is *impossible* to tell if I "closed the browser"
or not, only that the page itself was unloaded. And that is true in
*any* browser.