On Jan 24, 11:08 pm, Prasanna Bale <[email protected]> wrote:
> Hi,
>
> I was looking into the Firebugs (Firebug 1.11) code earlier. I see that
> Firebug is bootrapped restart-less extension but then it also has overlays
> (firebugFrame.xul and firebugOverlay.xul) in it.
Yes

> Can we add overlays to add toolbar buttons to the UI of the extension even
> after making the extension bootstrapped? If so, Is that with the xul or ..?
You should no use overlays in your bootstrapped extension, because
there
is no way how to simply unload the additions when your extension is
disabled or uninstalled.

You should use Firebug API for toolbar buttons customization.

Example:
https://github.com/firebug/extension-examples/tree/master/Toolbar

Honza

>
> If it is with overlays, How can I include the overlay xul files?
>
> I was trying to understand the logic in Firebug but not able to get it.
>
> Thanks,
> Prasanna

-- 
-- 
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
https://groups.google.com/forum/#!forum/firebug



Reply via email to