Re: Firefox extensions problem with SuSE 10.1



Drodbar wrote:

When trying to install any extensions I get the following error message;

installLocation has no properties
/firefox/components/nsExtensionManager.js

I was getting this a couple of days ago. I found a fix via Google that seems
to have worked. I found it by entering the quoted error message into the
Google search box: "installLocation has no properties" and the first link
returned was this: https://launchpad.net/products/firefox/+bug/65609

It's a patch you can apply to the nseXtentionManager.js file, but to save
you the job I'll tell you how to make a simple manual change that has
exactly the same effect.

You need to add a line at the existing line 3850 of the file. I found that
the simplest way of doing this is by editing it (as root, of course) in
kwrite - you can press F11 to see the line numbers, and do Edit, Go to Line
(or press Ctrl+G) to get to line 3850.

Where you see the line:
if (installLocation.name in StartupCache.entries &&
Insert a blank line above it and enter this line, indented the same amount,
before the above line:
if (! installLocation) continue;

You might want to close down Firefox while doing the editing.

All you have to do now is find some extensions that actually work with
Firefox 2.0... :-)

--
Garry Knight
garryknight@xxxxxxx

.



Relevant Pages