Adding a Toolbar Button in a Bootstrapped Firefox Extension

14 December 2012 by Matthew Gertner - Category: Technical Articles

Adding a toolbar button in a Firefox extension is simple. Since the Firefox user interface is described using XUL, it is enough to inject a snippet of XUL into the “toolbar palette” in browser.xul. Traditionally this would be done with a XUL overlay. Experienced XUL developers know that a button added like this won’t show [...]