W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: <script src=javascript:"..."> should do nothing

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Aug 2008 14:00:53 -0400
Message-ID: <48A07E55.7050301@mit.edu>
To: Justin James <j_james@mindspring.com>
CC: "'Toby A Inkster'" <tai@g5n.co.uk>, public-html@w3.org

Justin James wrote:
> I agree, it would be much more consistent for a javascript: protocol item in
> the src to be executed as JavaScript. In fact, I would content that:
> 
> <img src="javascript:..." />
> 
> should be allowed

So do a number of other people.  And the current HTML5 draft allows it. 
  So I'm not sure what the problem is, exactly.

-Boris
Received on Monday, 11 August 2008 18:01:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:57 UTC