[whatwg] Can we deprecate alert(), confirm(), prompt() ?
waldron.rick at gmail.com
Mon Mar 5 19:52:11 PST 2012
All three of these are considered highly effective tools in mobile web
development - they offer functional "UI" for free.
On Mon, Mar 5, 2012 at 10:34 PM, Biju <bijumaillist at gmail.com> wrote:
> Today I again landed on a malicious site which trap users using
> alert/confirm to download some application.
> URL :
> (or go it by http://snipurl.com/22hv8zh )
> I landed there when I got redirected from.
> I think that page is hacked as its links and contents is not same as
> other regular page at http://ndia-tvc.org/
> Also I feel if download is not triggered by CLICK event browsers
> should not prompt user to download content that not HTML/JPG/PNG.
> On 6 February 2012 19:03, Ian Hickson <ian at hixie.ch> wrote:
> > On Tue, 10 Jan 2012, Ojan Vafai wrote:
> >> The only complaint I'm aware of is in http://crbug.com/97206. The bug
> >> comments are confusing. The primary issue there is WebKit not firing
> >> beforeunload/unload from frames in some cases, but there is one comment
> >> about code that calls "confirm" from unload handlers followed by a sync
> >> XHR to save data that now breaks.
> > I've specced this (it's optional for now). I didn't check how closely
> > I specced matches Chrome.
> > --
> > Ian Hickson U+1047E )\._.,--....,'``. fL
> > http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
> > Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg