In my c++ app I need to fetch a webpage, generate the DOM object and then feed all the javascript code to the Spidermonkey to see what happens.

So far fetching the webpage is easy.
Getting all the javascript and even executing that is easy.
Generating a DOM is fairly easy.

What I cannot figure out is how to let Spidermonkey know about the DOM. How do I tell it about the window object, so that all javascript that executes can interact and modify the DOM.

If I can do that. then I can compare what the original DOM looked like, and change changes took place, and help me decide if there is anything I am interested in.

So how do I tell spidermonkey about the windows object?

Dan
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to