Adding an icon to the status bar in a Firefox extension
This post is a continuation of Firefox extensions development post. We are going to be using what we did on that post as a base for this one.
Adding the icon
We are going to modify our tntfixer.xul file. This is the initial state of our file:
1
2
3
4
5
6
7
8
<overlay id="tntfixer"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<statusbar id="status-bar">
<statusbarpanel id="tntFixerPanel">
<label>tntfixer</label>
</statusbarpanel>
</statusbar>
</overlay>