new JavaScript objects

Caterina Torrisi ctg at tid.es
Tue Jun 3 18:53:53 CEST 2003


> On Monday 02 June 2003 15:55, Caterina Torrisi wrote:
> > Hi,
> > I need to add new objects to the JavaScript engine generating a dynamic
> > library (.so). Then the Konqueror file can call this library to support the
> > new JavaScript objects that I defined before. Is there any method to do
> > this? Could someone help me?
> 
> It can be done, but it is much easier if you don't need to use a dynamic 
> library.
> Konq-embed has a way to register javascript extensions, but you need to 
> configure it with "--enable-jshostext".
> An example extension is the jsdebug add-on. You will not find a simpler
> javascript object than that. If you only have to add functions that is a good 
> start. 
> What version of konqueror embedded are you using, by the way?
> Javascript is much different in CVS HEAD versus KONQE_1_0_BRANCH.
> 
> 
> 
> Luciano
> 

Hi Luciano,  
thanks for your help
I have seen the example that you suggest but it is not clear enough the way that the Konq-embed has to register the new javascript objects and where the Konq evaluates the new objects. 

Ancora grazie,
un saluto
Caterina.


_______________________________________________
> konq-e mailing list
> konq-e at mail.kde.org
> http://mail.kde.org/mailman/listinfo/konq-e
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20030603/340acace/attachment.htm


More information about the konq-e mailing list