By the time any commands are parsed, any chrome window has probably
already finished loading. Not that you should be checking for that on
the hidden window, anyway. I assume what you want to do is wait for
Firefox etc to finish loading/starting up, in which case, just use a
function with a prefix "startup_" like this:

function startup_DoStuff() {
  // do stuff
}



- Blair





On Sun, Nov 30, 2008 at 9:37 PM, Aurimas <[EMAIL PROTECTED]> wrote:
>
> Sorry, this is what I try to do, but load event never fires:
>
> var win = CmdUtils.getHiddenWindow();
> win.location = 'http://www.google.com';
> jQuery(win).load( function(){ window.alert('loaded'; } )
>
> On Nov 28, 7:11 pm, Aurimas <[EMAIL PROTECTED]> wrote:
>> Isn't it possible to add onLoad event to CmdUtils.getHiddenWindow() ?
>> This doesn't work:
>> jQuery(CmdUtils.getHiddenWindow()).load( function(){ window.alert
>> (1); } )
> >
>

--~--~---------~--~----~------------~-------~--~----~
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