Rated 3 out of 5 stars

Shadow912's version works with Firefox 4 beta 9 if you set up maxVersion manually.
Unzip xpi archive, find install.rdf, change maxVersion parameter then zip again and change extension to xpi.