Hi there,

I have embedded Gecko in my app and I am able do extend the Javascript 
functions and classes.
BUT...
The functions and classes are recognized only when the page is full loaded.
Means that I cannot use my functions/classes until the onload event has 
fired.
I would like to call my functions/classes at "loading-runtime".
This should works with something like this :
<html>
<body>
<div>This is a div</div>
<script language="javascript">
    My_Function_Written_In_C(some_param);
</script>
</body>
</html>

To create classes and add functions, I read this :
http://users.skynet.be/saw/SpiderMonkey.htm (classes)
and this :
http://orange.kame.net/dev/cvsweb.cgi/mozilla/js/ref/README?cvsroot=mozilla6&rev=1.1.1.2
 
(functions)

I tried to put the code which initialize the new functions at STATE_START in 
the Chrome::OnProgressChange handler. But it does not work.

Any idea ?

Thx
Antoine 


_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to