Hi again I finaly found what I was looking for
context.window.wrappedJSObject context.window.wrappedJSObject.skin etc. regards tan On Sep 23, 6:40 pm, tan <[EMAIL PROTECTED]> wrote: > Hi > > Thanks for answer. > I have tried context.window, but if I want to get context.window.skin > where skin is a user defined variable I get undefined > skin is a global variable on a typical Wikipedia article page > (http://en.wikipedia.org/wiki/Citation). > > I get undefined on user defined objects etc. > > I have tried to look at the dom.js in Firebug as I think this file is > responsible for writing out objects etc. in the DOM panel > but have not figured it out yet :( > > regards, > tan > > On Sep 23, 4:57 pm, John J Barton <[EMAIL PROTECTED]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---
