W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] Javascript: URLs as element attributes

From: Daniel Veditz <dveditz@mozilla.com>
Date: Thu, 02 Dec 2010 11:31:59 -0800
Message-ID: <4CF7F42F.6080304@mozilla.com>
On 12/1/10 7:29 AM, Boris Zbarsky wrote:
> On 12/1/10 3:49 AM, Philip J?genstedt wrote:
> I dunno about solid, but the obvious things you can do with 
> javascript: that you can't do as easily with data: are things 
> that are dynamic. That said, in a sandbox the only things that 
> are available as obvious sources of dynamism are |new Date| and 
> |Math.random|.  So achieving solidity might take some work.  ;)

What dynamism does a javascript: url give you that can't be achieved
by running an in-page script to generate data: urls? (In a sandboxed
context; I don't think we can kill javascript: hrefs in links,
however much I'd like to.)
Received on Thursday, 2 December 2010 11:31:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC