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

Biju bijumaillist at gmail.com
Mon Mar 5 20:13:24 PST 2012


On 5 March 2012 23:52, Rick Waldron <waldron.rick at gmail.com> wrote:
> All three of these are considered highly effective tools in mobile web
> development - they offer functional "UI" for free.

along with window.open() malicious sites also love those features.
to make browsing safe (especially for kids, non techies) we need to
ban alert/confirm/prompt

see pages listed at
https://www.google.com/search?q=worksheet%20site:ndia-tvc.org
(even if you report phishing they point to new renamed site.
in this case http://ndia-tvc.org not the phishing site, but it just is
the infested site )


And we should have an alternative to window.open()
may by a CONTROL attribute for <IFRAME> tag.

ie,

<IFRAME src="http://google.com" CONTROL> </IFRAME>

will create a dragable/movable IFRAME with title bar, a pop-up button.
If user clicks on pop-up button it pops out of the webpage.



More information about the whatwg mailing list