Biju <[email protected]> schrieb am Thu, 25 Nov 2010 02:29:31
-0400:

> 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?

If sites rely on them, it is not possible to deprecate them.

However, I melieve browsers are making these dialogs tab-modal.

> 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.

“Do you want to save your complicated mashup?”

> 3. also if we are keeping them, can we add an optional parameter for a
> timeout milliseconds to self dismiss the modal prompt.

Why would you need that?


Cheers,
-- 
Nils Dagsson Moskopp // erlehmann
<http://dieweltistgarnichtso.net>

Attachment: signature.asc
Description: PGP signature

Reply via email to