You are here

homepage not read properly from prefs.js !!

6 posts / 0 new
Last post
Mr_Red
Mr_Red's picture
Offline
Last seen: 2 days 20 hours ago
Joined: 2009-07-06 09:29
homepage not read properly from prefs.js !!

FF4.0, XP/SP3 (usually) But Win7 seems to be the same. Corasir Flash Voyager GT.

I set my homepage to a specific file in the root of the memory stick.

This worked for a time, and did in FF3.6.13 etc.

However FF4.0 has suddenly decided to change the js file after startup so that the file address is something like:

user_pref("browser.startup.homepage", "file:///EE:/MYHOME.HTM"););

if I load "file:///E:/MYHOME.HTM" and set it as the homepage and exit, the js file is saved correctly.

as soon as I run FF4.0 it adds a letter or two to the drive, (always a duplicate letter) in the (now re-saved) prefs.js file and then tries to load the stupid path.

If FF4.0 has not updated and this worked from the off - what has changed?

I can edit the js file all I want and FF4.0 still does this stupid thing.

sessionstore.js saves it correctly AKAIK.

bpmackow
Offline
Last seen: 13 years 1 month ago
Joined: 2011-01-30 18:59
relative path

I believe that in order for a local homepage to work, the filepath needs to be relative to X:\PortableApps\FirefoxPortable.

I'm not entirely sure if this is true, I would recommend you read the support page.

"Insanity is doing the same thing over and over and expecting different results." - Albert Einstein

My use of Google indicates that I am insane.

Mr_Red
Mr_Red's picture
Offline
Last seen: 2 days 20 hours ago
Joined: 2009-07-06 09:29
Nope. I don't (never have)

Nope. I don't (never have) used PortableApps. My FF has always been in a directory called FirefoxPortable\

My best guess is that while the memory stick in mounted, every time I exit and enter FF it adds one more letter to the drive and saves in prefs.js. Today we are running from drive FFFF:

And that is true with the homepage in any location.

You can edit prefs.js all you want. FF changes that file as soon as it loads, uses that data, and doesn't look at the file again until FF loads afresh.

I don't see anything in the OS that will make this happen, nor the Memory Stick, but I am no expert. Well I am an expert on the symptoms! It didn't happen when I first installed FF4.0 and I got 3.6.13 (& earlier) to load the homepage from the memory stick, regardless of what drive letter the memory stick was given. Because I was told it would work on this very forum! And it did.

I do have Flash Player, Firebug, and Firecookie. Maybe this is relevant. I used to have Flash & Firebug in FF3.6.13.

Mr_Red
Mr_Red's picture
Offline
Last seen: 2 days 20 hours ago
Joined: 2009-07-06 09:29
Only FF can possibly be doing this.

I have tried all sort of drivepaths.

By editing the path as file:///:/etc it works

However only once.

What is happening is that the "file:///" is being replaced with "file:///F" and as a result - on each time FF loads it adds at least one more drive letter.

I don't know a better example of a bug, or one where I can describe the symptoms exhaustively, that is.

bpmackow
Offline
Last seen: 13 years 1 month ago
Joined: 2011-01-30 18:59
this sounds like a firefox error

reinstall and try again

"Insanity is doing the same thing over and over and expecting different results." - Albert Einstein

My use of Google indicates that I am insane.

bpmackow
Offline
Last seen: 13 years 1 month ago
Joined: 2011-01-30 18:59
X:\FirefoxPortable

My point was put it in the same folder as FirefoxPortable.exe.

"Insanity is doing the same thing over and over and expecting different results." - Albert Einstein

My use of Google indicates that I am insane.

Log in or register to post comments