George Zhang wrote:
Hi Tomasz,

I met the same problem weeks ago. I found two ways doing that:
1. Simply use nsIWebNavigation->LoadURI(javascript:exp)

2. Use JS_EvaluateScript. Check:

Hi

Yes, but AFAIK that methods allow to simply run a script, similar to JS_ExecuteScript, JS_CallFunctionName etc...

But I want to enable executing scripts inserted into html between <SCRIPT> tags by mozlilla engine.

Maybe your idea of starting scripts by calling LoadURI is good, but I think there will be many problems to do this i.e. case of dynamic menu with opening self when mouse is over it, and other cases of dynamic DOM-tree modifications caused by user behaviour.
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to