Creating a menu in a browser menu from the Add-on SDK extension

I am creating a simple Firefox extension using the Add-on SDK 1.0.

Cleaning documents and much more, I could not find a way to create a simple menu in the browser tool menu. The Add-on SDK has a context-menu module that (obviously) only handles the context menu of the page, which is not what I need. Isn't it that the Add-on SDK has no module for this? If so, I believe that I have access to the entire firefox XPCOM API in the add-in SDK extension, but I cannot figure out how to use it and create a simple menu entry in the tool menu.

Any pointers on how I can do this?

(By the way, I’m not sure about the tags of this question, please correct if you feel that way)

+4
source share
1 answer

I wrote a module called menuitems that you can use to easily add one menu item to any of the regular menu items. Here on github .

I have not had time to write documents yet, but you can find an example here and an example here AMO .

I'll talk about this the other day.

+2
source

All Articles