new JavaScript objects
Luciano Montanaro
mikelima at virgilio.it
Mon Jun 2 17:10:09 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.
Let me know if there
More information about the konq-e
mailing list