W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

Re: Proposal: Detecting when the user leaves a page due to hitting the back button or typing in a URL or going to a favorite

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 05 Jan 2009 15:04:52 -0500
Message-ID: <496267E4.7070102@mit.edu>
To: "Shropshire, Andrew A" <shropshire@att.com>
CC: Mike Wilson <mikewse@hotmail.com>, public-webapps@w3.org

Shropshire, Andrew A wrote:
> I am working a dialog problem now and I have discovered another problem
> with Onbeforeunload:
> 
> It is called even for javascript URLs which clearly aren't exiting the
> page.

I believe this is only the case in some browsers.  For example, 
IE/Windows does this, but Gecko-based browsers do not, last I checked.

-Boris
Received on Monday, 5 January 2009 20:05:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:29 GMT