Fixes for extensions broken since new addon manager landed
- ShareBird
- Posts: 2740
- Joined: December 8th, 2004, 7:09 am
- Location: Berlin | Made in Brasil
- Contact:
Re: Fixes for extensions broken since new addon manager landed
Just to clarify: I'm referring to the workbench setup at that link...
-
- Posts: 1021
- Joined: November 7th, 2002, 11:15 pm
Re: Fixes for extensions broken since new addon manager landed
Any fix for Firebug? That's really the only one I can't live without.
- WildcatRay
- Posts: 7484
- Joined: October 18th, 2007, 7:03 pm
- Location: Columbus, OH
Re: Fixes for extensions broken since new addon manager landed
mattcoz wrote:Any fix for Firebug? That's really the only one I can't live without.
You have checked with the Firebug folks, haven't you?
Ray
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
-
- Posts: 8829
- Joined: May 7th, 2006, 10:29 pm
- Location: California
Re: Fixes for extensions broken since new addon manager landed
mattcoz wrote:Any fix for Firebug? That's really the only one I can't live without.
Wait, Firebug broke?
-
- Posts: 1896
- Joined: May 30th, 2004, 5:20 am
Re: Fixes for extensions broken since new addon manager landed
I used the AOM to check for updates about 10 minutes ago and it found one for Noscript. I updated it and when Minefield restarted the extension was gone. When I went to install it again, I did not get the usual install popup.
Myabe this happened because I was using a Dev version of Noscript..?
Myabe this happened because I was using a Dev version of Noscript..?
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Re: Fixes for extensions broken since new addon manager landed
Don't think so. The new addon manager behaves a bit erratic for me too.
For me removing the folder in extensions solves it.
For me removing the folder in extensions solves it.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
- Rigido
- Posts: 454
- Joined: August 1st, 2003, 2:01 am
- Location: Rome, Italy
Re: Fixes for extensions broken since new addon manager landed
Hi,
The developer of IHG is using that code to get the extension install folder in order that he can add a "cache" subfolder.
I read the "proxy file" article in the Developer Center, but I didn't understand how I (or Matt) could use that...and if it is applicable.
I give up, don't want to bother you and I don't know what was on Matt's mind (I would use the TEMP folder using the ID as "unique" subfolder).
Thank you all.
The developer of IHG is using that code to get the extension install folder in order that he can add a "cache" subfolder.
I read the "proxy file" article in the Developer Center, but I didn't understand how I (or Matt) could use that...and if it is applicable.
I give up, don't want to bother you and I don't know what was on Matt's mind (I would use the TEMP folder using the ID as "unique" subfolder).
Thank you all.
Ciao,
Rigido.
Rigido.
-
- Posts: 458
- Joined: September 12th, 2005, 4:43 pm
Re: Fixes for extensions broken since new addon manager landed
Rigido wrote:Hi,
I'm trying to fix the "Components.classes['@mozilla.org/extensions/manager;1'] is undefined" with ImagehostGrabber plugin that stopped working with the new Plugin Manager.
The code that the developer used isCode: Select all
cacheFile = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager).getInstallLocation(id).getItemLocation(id);
Where can I find how to do the same thing with the new plugin manager?
Thanks.
The Components.classes["@mozilla.org/extensions/manager;1"] shows up four times in file_services.js (the first and fourth are the same.) I replaced them like this:
Code: Select all
replace:
cacheFile = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager).getInstallLocation(id).getItemLocation(id);
cacheFile.append("cache");
with:
var directoryService = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties);
var profileFolder = directoryService.get("ProfD", Components.interfaces.nsIFile);
profileFolder.append("extensions");
profileFolder.append(id);
profileFolder.append("cache");
var cacheFile = profileFolder;
replace:
forumStyleFile = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager).getInstallLocation(id).getItemLocation(id);
forumStyleFile.append("forum_styles.xml");
this.forumStyleFile = forumStyleFile;
with:
var directoryService = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties);
var profileFolder = directoryService.get("ProfD", Components.interfaces.nsIFile);
profileFolder.append("extensions");
profileFolder.append(id);
profileFolder.append("forum_styles.xml");
this.forumStyleFile = profileFolder;
replace:
hostFile = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager).getInstallLocation(id).getItemLocation(id);
hostFile.append("hostf.xml");
with:
var directoryService = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties);
var profileFolder = directoryService.get("ProfD", Components.interfaces.nsIFile);
profileFolder.append("extensions");
profileFolder.append(id);
profileFolder.append("hostf.xml");
hostFile = profileFolder;
replace:
cacheFile = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager).getInstallLocation(id).getItemLocation(id);
cacheFile.append("cache");
with:
var directoryService = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties);
var profileFolder = directoryService.get("ProfD", Components.interfaces.nsIFile);
profileFolder.append("extensions");
profileFolder.append(id);
profileFolder.append("cache");
var cacheFile = profileFolder;
- ajnauron
- Posts: 460
- Joined: April 10th, 2010, 4:39 pm
Re: Fixes for extensions broken since new addon manager landed
Is there a fix for Video DownloadHelper?
Intel Core i3-2310M | NVIDIA GeForce GT 540M | 16GB G.SKILL DDR3 1333MHz PC3-10666 | Western Digital 750GB 5400RPM | Windows 7 SP1 x64
- Rigido
- Posts: 454
- Joined: August 1st, 2003, 2:01 am
- Location: Rome, Italy
Re: Fixes for extensions broken since new addon manager landed
Chris000001 wrote:...a lot of useful info...
Thank you Chris, I wrote Matt about your post. I hope he will do something, meanwhile I will modify the xpi and try it myself...
GRAZIE!
Ciao,
Rigido.
Rigido.
- AteUte52
- Posts: 1525
- Joined: June 19th, 2004, 5:30 am
- Location: Finland
Re: Fixes for extensions broken since new addon manager landed
The same happened to me, looks like NoScript was uninstalled but not installed again.. And I have not been able to install it again..? With a new profile it installs so it is OK...sipowicz wrote:I used the AOM to check for updates about 10 minutes ago and it found one for Noscript. I updated it and when Minefield restarted the extension was gone. When I went to install it again, I did not get the usual install popup.
Myabe this happened because I was using a Dev version of Noscript..?
EDIT: Seems that I can't install any extension any more, with a new profile I can.. Interesting
- WildcatRay
- Posts: 7484
- Joined: October 18th, 2007, 7:03 pm
- Location: Columbus, OH
Re: Fixes for extensions broken since new addon manager landed
AteUte52 wrote:The same happened to me, looks like NoScript was uninstalled but not installed again.. And I have not been able to install it again..? With a new profile it installs so it is OK...sipowicz wrote:I used the AOM to check for updates about 10 minutes ago and it found one for Noscript. I updated it and when Minefield restarted the extension was gone. When I went to install it again, I did not get the usual install popup.
Myabe this happened because I was using a Dev version of Noscript..?
EDIT: Seems that I can't install any extension any more, with a new profile I can.. Interesting
Do you, by any chance, have MR Tech Toolkit installed? I suspect it had so much interaction with the old AoM that is may cause problems with the new one. I actually uninstalled it before I even migrated my profile to the build when the new AoM UI landed. Whether or not it is why I have not seen the issues you and others are seeing, I don't know. It just seems logical to minimize or eliminate the number of installed add-ons that may interact with the AoM.
Ray
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
-
- Posts: 1896
- Joined: May 30th, 2004, 5:20 am
Re: Fixes for extensions broken since new addon manager landed
I stopped using Mr Tech when the new AOM came out. I can't wait for it to be updated.
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Re: Fixes for extensions broken since new addon manager landed
As said before this happened to me too. Clearing the extension specific subfolders in the profile resolved it.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
- WildcatRay
- Posts: 7484
- Joined: October 18th, 2007, 7:03 pm
- Location: Columbus, OH
Re: Fixes for extensions broken since new addon manager landed
trolly wrote:As said before this happened to me too. Clearing the extension specific subfolders in the profile resolved it.
I did that, too. Just forgot until you mentioned it, again.
Ray
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi