[whatwg] Can we deprecate alert(), confirm(), prompt() ?
ash at ashleysheridan.co.uk
Wed Nov 24 23:41:21 PST 2010
I'm not sure what your definition of web 2.0 is, but its not about the way something looks.
Removing those modal dialogues would be a very bad idea indeed. There are still valid uses for them, even if they have been abused in the past. Thinking your way, we ought to get rid of the ability to open new windows and display flash too.
----- Reply message -----
From: "Biju" <bijumaillist at gmail.com>
Date: Thu, Nov 25, 2010 06:29
Subject: [whatwg] Can we deprecate alert(), confirm(), prompt() ?
To: "whatwg" <whatwg at whatwg.org>
1. Can we deprecate alert(), confirm(), prompt() ?
At present many web2.0 js libs are providing alternate [and cool
looking] methods to achieve use cases where we need to use alert(),
confirm(), prompt(). So do we need those modal dialogs any longer?
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
3. also if we are keeping them, can we add an optional parameter for a
timeout milliseconds to self dismiss the modal prompt.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg