In firebug code as with other firefox extensions, the 'window' object in scope is the window corresponding to browser.xul.
Through out firebug there is a 'context' object representing Firebug's information about a web page. It's passed as a argument to many functions, its available as this.context inside of panels, and sometimes you need to use the "current context", FirebugContext (but try to avoid it). context.window is the window object of the page that context is managing. Beware: you should treat this object as read-only at all times and do not call any functions of this object. Firebug is in extension space and must not give control to any object in web-page space. jjb On Sep 23, 2:25 am, tan <[EMAIL PROTECTED]> wrote: > Hi > > I am new to Firebug extension development and have been through Jan > Odvarkos tutorial which has helped a lot. > But I am having trouble with getting the custom objects of the current > page > > eg. window.myObject > > Can anyone help me out here > > thanks in advance, > > tan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" 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/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
