« What's Up, Doctype? | Main | .exe TLD Coming Soon? »
January 31, 2008
Quick Note to Extension Developers About browser.xul ID Changes
Edit: The changes that caused this were removed (see mfinkle's blog).
I filed bug 415099 today because certain ids where changed in browser.xul that broke my extension overnight.
So if you overlay browser.xul, you should make sure it works with today's build.
Sadly, the id change seems to be actually needed to fix a bug, so extension authors will need to work around this. Read on for a way to work around it.
To work around this, you can do:
<toolbox id="navigator-toolbox">
<vbox id="goat"></vbox>
</toolbox>
<toolbox id="browser-toolbox">
<vbox id="goat"></vbox>
</toolbox>
<vbox id="goat" class="zebra">
...
</vbox>
This allows you to only define your content (the goat vbox) once, as the overlay engine will overlay the definition unto the "dummy" version in the toolbox.
(thanks to Ratty on irc for reminding me of this)
Posted by doron at January 31, 2008 9:25 AM
Trackback Pings
TrackBack URL for this entry:
http://weblogs.mozillazine.org/mt/track.cgi/12364
Listed below are links to weblogs that reference Quick Note to Extension Developers About browser.xul ID Changes:
» Online education program aib college of business. from Online education.
Online education program aib college of business. Free online education. Ot s online continuing education hours. Kidsource online for education index. Quality of online education. Masters degree in education online. Degree education music online. Onlin... [Read More]
Tracked on May 11, 2009 3:02 AM
» Page about car insurance rate. from Car insurance.
Classic car insurance. Canada car insurance. [Read More]
Tracked on May 30, 2009 1:59 PM
» Tramadol no rx 180 pills. from Tramadol.
Tramadol side effects. Tramadol. How much tramadol for daily use for dogs. [Read More]
Tracked on June 1, 2009 11:34 PM