ImageZoom 0.4.4 on Firefox 4.0beta

ImageZoom 0.4.4 stops working with FireFox 4.0, here is a quick and dirty way to get at least the mouse functions working.

(The Context Menu does NOT work, so you may just as well disable that from the Options Dialog).

Tested with Firefox 4.0b6.

Get imagezoom_0.4.4.xpi from imagezoom.yellowgorilla.net .

Rename the file to .zip.

Using 7-Zip :

Extract from imagezoom_0.4.4.xpi.zip

  chrome\imagezoom.jar

  install.rdf

Extract from imagezoom.jar

  content\globals.js

  content\overlay.js

Edit globals.js, Line 45 to look like

  var extVersion = “0.4.4”;  // this.getAppVersion();

Edit overlay.js to look like

   var version = “0.4.4”; // net.yellowgorilla.imagezoom.globals.getAppVersion();

Edit install.rdf, Line 59 to look like

  em:maxVersion4.9.*</em:maxVersion>

Replace the files in  imagezoom_0.4.4.xpi.zip with those just edited. Rename back to .xpi .

Install & Enjoy

The proper way to fix this Addon would likely be this :

http://www.oxymoronical.com/blog/2010/03/How-were-breaking-some-extensions-in-the-near-future