Subj : Re: [SpiderMonkey] General question To : netscape.public.mozilla.jseng From : Jens Thiele Date : Fri Jul 02 2004 06:53 pm ma2thieu wrote: > I am making a C++ program that looks some HTML pages. In these pages, > it may have javascript code and I would like that my C++ program > compile/interprete this code to traduce it into HTML. I guess your c++ program is a standalone html viewer and you want to add javascript support? > For example, I have: > document.write(') > and I want to obtain: > > > Is it possible by using the SpiderMonkey functions? yes but spidermonkey does not supply the document object (and all the other objects of the DOM) > Do you know examples of similar codes? mozilla Jens .