Web Apps In The Browser - BeforeUnload
Written by Mike James   
One of the big problems with building a web application is keeping the browser from messing up your best efforts. You can see the browser as an enemy trying to enforce a more general behavior on your app. After all your web app just wants to do whatever you programmed it to but the browser wants to get on with browsing.
Shared publiclyView activity