thanks a lot! after executing the inspect function, can i catch the user click on the page to get the CSS Selection?
On Dec 4, 12:27 am, John J Barton <[email protected]> wrote: > On Dec 3, 12:29 pm, ceyal <[email protected]> wrote: > > > thanks John, > > I know about the code, > > the question is different - > > > I want to call firebug "inspect" function from ANOTHER FireFox addon. > > If you overlay browser.xul, then you can all any Firebug function that > Firebug can call the same way we call it. So you could call > Firebug.Inspector.toggleInspecting(FirebugContext); > But the inspect feature is not a function that returns an element. > > jjb > > > I believe I need Firebug API for this... or am i wrong? > > thanks, > > Eyal > > > On Dec 3, 9:51 pm, John J Barton <[email protected]> wrote: > > > > On Dec 3, 9:54 am, ceyal <[email protected]> wrote: > > > > > Hi all, > > > > I want to develop a new FF add-on that will use some features of > > > > Firebug. > > > > the basic idea is to activate the inspect element function from > > > > within my addon and receive the html element (which the user has > > > > clicked on) as a CSS Selection result. > > > > > Does anyone have any idea if this is possible and how? > > > > Sure its possible. The source is > > > here:http://code.google.com/p/fbug/source/checkout > > > jjb > > > > > Thanks, > > > > Eyal -- 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.
