W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] Can we deprecate alert(), confirm(), prompt() ?

From: Peter Kasting <pkasting@google.com>
Date: Mon, 28 Feb 2011 16:49:57 -0800
Message-ID: <AANLkTinHBE_772Ld_E9ebB0D15iVUN4aFPhCXZm89AaV@mail.gmail.com>
On Mon, Feb 28, 2011 at 4:42 PM, Ian Hickson <ian at hixie.ch> wrote:

> > 2. if we are still keeping them, can we disable them in
> > onbeforeunload/onunload[/onhide] etc. Many sites add extra dialogs in
> > those events to confuse users, so that they can trap users for little
> > longer.
>
> That's not a bad idea. I recommend approaching the browser vendors to see
> if they are willing to implement it; if they do, then updating the spec
> accordingly would be a no-brainer.


Isn't this important for the "you're trying to navigate away from gmail with
an open draft; abandon changes y/n?" case?

PK
Received on Monday, 28 February 2011 16:49:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:04 UTC