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