<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&gt; On Monday 02 June 2003 15:55, Caterina Torrisi 
wrote:<BR>&gt; &gt; Hi,<BR>&gt; &gt; I need to add new objects to the JavaScript 
engine generating a dynamic<BR>&gt; &gt; library (.so). Then the Konqueror file 
can call this library to support the<BR>&gt; &gt; new JavaScript objects that I 
defined before. Is there any method to do<BR>&gt; &gt; this? Could someone help 
me?<BR>&gt; <BR>&gt; It can be done, but it is much easier if you don't need to 
use a dynamic <BR>&gt; library.<BR>&gt; Konq-embed has a way to register 
javascript extensions, but you need to <BR>&gt; configure it with 
"--enable-jshostext".<BR>&gt; An example extension is the jsdebug add-on. You 
will not find a simpler<BR>&gt; javascript object than that. If you only have to 
add functions that is a good <BR>&gt; start. <BR>&gt; What version of konqueror 
embedded are you using, by the way?<BR>&gt; Javascript is much different in CVS 
HEAD versus KONQE_1_0_BRANCH.<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Luciano<BR>&gt; 
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>Hi Luciano,&nbsp; 
<BR>thanks for your help</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>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&nbsp;evaluates the new objects.</FONT><FONT 
face=Arial size=2><FONT color=#000000 size=1> </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Ancora grazie,</FONT></DIV>
<DIV><FONT face=Arial size=2>un saluto</FONT></DIV>
<DIV><FONT face=Arial size=2>Caterina.</FONT></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>_______________________________________________<BR>&gt; konq-e mailing 
list<BR>&gt; </FONT><A href="mailto:konq-e@mail.kde.org"><FONT face=Arial 
size=2>konq-e@mail.kde.org</FONT></A><BR><FONT face=Arial size=2>&gt; </FONT><A 
href="http://mail.kde.org/mailman/listinfo/konq-e"><FONT face=Arial 
size=2>http://mail.kde.org/mailman/listinfo/konq-e</FONT></A><BR><FONT 
face=Arial size=2>&gt; </FONT></DIV></BODY></HTML>