Is there a way to invoke the Firebug inspector to inspect a particular node
from another (non-firebug embedded) Firefox extension?
I used to be able to pass the Firebug object to my extension from my
extension's overlay.xul file like this:
<menuitem id="W15yQC_menuEntry_landmarksDialog" accesskey="A"
label="ARIA Landmarks"
oncommand="try{if(Firebug){Firebug.GlobalUI.startFirebug(function(){blr.W15yQC.openDialog('ariaLandmarks',Firebug);});}else{blr.W15yQC.openDialog('ariaLandmarks',null);}}catch(ex){blr.W15yQC.openDialog('ariaLandmarks',null);}"/>
And, then from a XUL dialog in my extension, I'd invoke Firebug like this:
void function (arg) {
blr.W15yQC.LandmarksDialog.FirebugO.GlobalUI.startFirebug(function () {
blr.W15yQC.LandmarksDialog.FirebugO.Inspector.inspectFromContextMenu(arg);
});
}(blr.W15yQC.LandmarksDialog.aARIALandmarksList[selectedIndex].node);
However the Firebug hasn't been available using this technique for some
time now. Is it possible to detect and invoke Firebug from another
extension? Is there an official technique for doing this (that would be
stable)?
Thanks a bunch for any help on this. This would be an amazing feature to
add to accessibility inspector tools!
-Brian
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/d040a992-ac21-48bb-8293-117877ffe044%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.