I'm trying to update my extension
(https://addons.mozilla.org/firefox/1456/) for the upcoming Firefox 2.
My previous extension used bindings that extended
chrome://global/content/bindings/tabbox.xml but I found that I now
need to extend chrome://global/content/bindings/tabbrowser.xml .
Except that during testing, I couldn't figure out why my extension
wasn't showing up in the window's DOM tree. I guessed that it might
have to do with the new theme so I installed the Firefox classic theme
That worked! I found out that the new 2.0 theme already has a
-moz-binding for .tabbrowser-tabs
and it is using !important. So I set my own -moz-binding to be
!important, but then I lost the original binding for the tab bar that
the theme used for the new features like the all-tab button and the
My question is, there something I can do to both keep the original
binding of the tab bar and be able to extend it with my extension?
Since you put these features in the theme and not the core browser,
not only do other themes not get these great features, but my
extension that extends the tab bar has to determine if the current
theme is the default 2.0 theme or a custom.
If this isn't the right place to ask questions on extension problems,
just point me in the right direction.
This appears relevant.