[whatwg] Please disallow "javascript:" URLs in browser address bars

Boris Zbarsky bzbarsky at MIT.EDU
Thu Jul 22 14:18:15 PDT 2010


On 7/22/10 5:03 PM, Mike Shaver wrote:
> What should the URL bar say when the user clicks a javascript: link
> which produces content?<a href="javascript:5;">five!</a>

This part the spec actually covers, I think; the url bar is supposed to 
say the url of the page that link was on, iirc.  Which is what I think 
everyone but Gecko does already; we actually show the javascript: url in 
the url bar in this case.

-Boris



More information about the whatwg mailing list