This fixes Greasemonkey:
In file extensions/{e4a8a97b-f2ed-450b-b12d-ee082ba24781}/content/config.js, around line 410 (search for "@mozilla.org/extensions/manager"), and replace the 4 lines (should be the same as the first 4 lines here only it's been commented) with the stuff below:
Code: Select all
/*var extMan = Components.classes["@mozilla.org/extensions/manager;1"]
.getService(Components.interfaces.nsIExtensionManager);
var item = extMan.getItemForID(GM_GUID);
GM_prefRoot.setValue("version", item.version);*/
Components.utils.import("resource://gre/modules/AddonManager.jsm");
AddonManager.getAddonByID("{e4a8a97b-f2ed-450b-b12d-ee082ba24781}", function(addon) {
GM_prefRoot.setValue("version", addon.version)
});
This fixes ForecastFox, a little trickier since it uses a jar-file:
Look for extensions/{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}/chrome/forecastfox.jar
Here you have two options, either edit a file from within the .jar file (may not always work properly) or extract it (it's a normal zip file so just change the extension of it to .zip instead of .jar).
The file that needs to be changed is content/ping/ping-service.js. look for var exMgr (should be on line 88). On the beginning of that line add "//" (without the ") and on the following row do the same. Should look like this:
Code: Select all
// var exMgr = Cc["@mozilla.org/extensions/manager;1"].
// getService(Ci.nsIExtensionManager);
If you unpacked the .jar you need to do one more thing:
Open up chrome.manifest directly in the "{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}" folder, in here you need to replace all "jar:chrome/forecastfox.jar!" with "chrome/forecastfox". "forecastfox" refers to the folder that was created when you unpacked the jar-file. By default it usually is the name of the archive. Check in the chrome folder to see what your name is.
This fixes DownThemAll:
http://bugs.code.downthemall.net/trac/changeset/1877
Before you apply the fix for DownThemAll you need to unpack the jar-file for DownThemAll, the extension-folder for it is: "{DDC359D1-844A-42a7-9AA1-88A850A938A8}".
You also need to modify the chrome.manifest to remove the reference to the jar file like described above for ForecastFox.