I am building a simple Firefox extension using the Add-on SDK 1.0.
Scouring the docs and googling a lot, I couldn't find a way to create a simple menu under the browser's tools menu. Add-on SDK has a context-menu
module, which (obviously) only handles the page context menus, which is not what I'm after. Is it that Add-on SDK does not have a module for this yet? If so, I believe I have access to all the firefox's XPCOM API in the Add-on SDK extension, but I can't figure out how to use this and create a simple menu entry under the tools menu.
Any pointers on how I might do this?
(BTW, not sure about the tags of this question, please correct if you feel so)
I wrote a module called menuitems which can be used to easily add a single menuitem to any of the normal menu bar items. It's on github here.
I haven't had the time to write docs yet, but you can find an example here, and the example is on AMO here.
I'll blog about it one of these days..