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: Shropshire, Andrew A <shropshire@att.com>
Date: Tue, 6 Jan 2009 12:41:53 -0500
Message-ID: <24D5F2204CBFC84499520C14CC11036C0823ABCB@vna-exch1.gsi.grci.com>
To: "Giovanni Campagna" <scampa.giovanni@gmail.com>, <public-webapps@w3.org>
One could simply deprecate the onunload  (but still support it) and
create a new version onDestroy that is called as well.  Old apps won't
know about onDestroy so it will be harmless and won't break them.  New
apps simply don't need to implement onunload and will use onDestroy.  If
you change onbeforeunload you will have compatibility issues with all
those pages that use it now. 

 

From: Giovanni Campagna [mailto:scampa.giovanni@gmail.com] 
Sent: Tuesday, January 06, 2009 12:37 PM
To: Shropshire, Andrew A; public-webapps@w3.org
Subject: 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

 

 

2009/1/6 Shropshire, Andrew A <shropshire@att.com>


These pages deserve to be broken :)


Unfortunately, the user doesn't know that little fact. Instead it knows
that with IE6 or FF2 or Opera9.5 it worked, with the latest browser it
doesn't. And will complain with the browser vendor, and will keep the
old browser (thus preventing any innovation)

Giovanni 
Received on Tuesday, 6 January 2009 17:43:00 GMT

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