[thelist] In memory browser to evaluate a DOM after JS has been applied?

ben morrison morrison.ben at gmail.com
Wed May 13 12:03:58 CDT 2009


On Wed, May 13, 2009 at 5:50 PM, ivo <cervantes_vive at yahoo.com> wrote:
>
> Hello listers,
>
> I have an interesting problem I am trying to solve. I have a set of HTML pages onto which clients can add their own HTML & JS. The client HTML & JS can only be to modify the page DOM for presentation purposes. What I need to check for is if the client HTML & JS attempts to include any additional scripts or iframes. Checking the HTML document for script tags and iframes is straightforward but checking the JS fragments included on the page so that they dont dynamically build these tags or that they do ajax calls is challenging.

Yikes - good luck :)

You could start by looking at caja - http://code.google.com/p/google-caja/

-- 
Ben Morrison



More information about the thelist mailing list