[whatwg] prompts, alerts and showModalDialog during beforeunload/unload events

Scott González scott.gonzalez at gmail.com
Thu Feb 11 19:28:22 PST 2010


On Thu, Feb 11, 2010 at 9:55 PM, Tab Atkins Jr. <jackalmage at gmail.com>wrote:

> I commonly see them put to *good* use by editting applications,
> warning you if you attempt to leave the page without saving.  It has
> saved me from accidentally lost effort just in the past few days in
> both my email and one of my wikis.
>

I use dialogs in this fashion as well. Users get very frustrated when they
accidentally leave a page with unsaved content and this is the easiest
improvement for most developers to make.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100211/404d3b6c/attachment-0002.htm>


More information about the whatwg mailing list