I can't find a way to inject external js file too.
Last example doesn't work either.

On Nov 27, 6:21 pm, gtdphp developers <[EMAIL PROTECTED]> wrote:
> > But It's the callback bit I cant seem to
> > fathom. I need to be able to do something on the lines of (this is
> > pseudocode):
>
> > var myRemoteScript = CmdUtils.injectJavascript( "http://xyz/script.js"; );
> > var myRemoteObject = myRemoteScript.MyObject;
> > myRemoteObject.a( some_params );
>
> Try something like:
>
> CmdUtils.injectJavascript( "http://xyz/script.js";, function
> myremotescript() {
>   var myRemoteObject = myRemoteScript.MyObject;
>   myRemoteObject.a(some_params);
>
> });
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to