misc queries

konq-e@mail.kde.org konq-e@mail.kde.org
Tue, 9 Apr 2002 07:37:17 -0400


Quoting Rob Kaper (cap@capsi.com):
> On Tue, Apr 09, 2002 at 02:52:18AM -0400, step1b@cyberspace.org wrote:
> 
> > 2. Javascripts in an html requires the window object, how does konqueror
> > create it - ie., what html parser it uses, where in the source should I look
> > at to know about this?
> 
> khtml, also native KDE code.
> 
> They can be found in kdelibs/khtml and kdelibs/kjs.

Thanks for the response. Started the source download.
Does khtml allow me to do something like the following:
        window w = khtml.getWindowObject ("http://www.somepagewithscript.com/indexhtml");
        ScriptEngine.process ("mscript", w);
Or do you know of any other software(preferably java based) that can help me
do this?

thanks in advance.
st.