Thanks guys. =)

I think I made it work with the latest version using nsIObserver
(based on userChrome.js), but the code became somewhat cluttered.

It'd be great if we could get that windowOpen_*() and/or something
like CmdUtils.addKeybind().

On Jan 14, 6:48 am, Aza <[email protected]> wrote:
> Hey Satyr,
> This is looking very interesting!
>
> I think that there are startup_* functions (or something like that) for
> running code inside of commands that happens every time a new window is
> opened. Check the author tutorial for more detailed info.
>
> -- aza | ɐzɐ --

On Jan 14, 6:51 am, Atul Varma <[email protected]> wrote:
> No, the startup_() functions will only be run at startup now, and not
> every tme a new window is opened.  We could add a windowOpen_() sort of
> function, though... I don't think there's currently any way to guarantee
> that certain code is called on window-open from a command feed, though I
> suppose you could use FUEL to attach an event listener that gets
> notified whenever a new window is opened.

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