I've created a firefox extension that consists of a toolbar button. How can I set it up so that when my extension is installed, the button automatically appears in the main toolbar. I don't want my users to have to go to the customize toolbar menu and drag my button over.
相关问题
- How does the setup bootstrapper detect if prerequi
- Installation of Leiningen 2.X in Mac OS X
- Error when installing TDA package on R
- CollapsingToolbarLayout without title animation
- Magento Fatal error: Maximum execution error solut
相关文章
- Getting errors / failing tests when installing Pyt
- How do you make an installer for your python progr
- Firefox remembering radio buttons incorrectly
- Installing the R interpeter and R as a shared libr
- CSS Firefox box-shadow and outline
- How to get path of the php binary on server where
- Looking for documentation on the “right” way to in
- XML Parsing Error in Firefox developer console
Here is a small script snippet I write that adds a button to the Firefox toolbar the first time your extension runs: Add your extension’s toolbar button to Firefox at first run
We're using the following code....
From https://developer.mozilla.org/En/Code_snippets:Toolbar#Adding_button_by_default --
We are using the following code that will append the button (if already exist somewhere else in the bar).