Flag This Hub

How to stop homepage in Firefox from being changed

By


To stop users from changing the homepage set in Mozilla Firefox isn't as straightforward as it for IE.

Open notepad or any text editor and place the code below in, change the URL to what you want the homepage to stick to.

//
lockPref("network.proxy.type", 0);
lockPref("browser.startup.homepage", "http://www.google.co.uk/");

Save this file as mozilla.txt.

Download this program to convert the txt file into a config file that firefox can use in order to allow this to be actioned. ByteShifter

Browse for mozilla.txt for the input file and set the output file to the root directory of Firefox (where 'firefox.exe' is located. Name it mozilla.cfg, set the offset to 13 and click 'go'.

The configuration file should be created.

Browse to the Mozilla Firefox root and then the greprefs sub directory.

Edit the all.js file in notepad or any text editor and add the following code at the end.

pref("general.config.filename", "mozilla.cfg");

Change file type to all types and save.

If you get problems saving the js file or the cfg file change the directory to not be read only.

Close all instances of Firefox and see if this has worked.

You can use 'about:config' in the address bar to change a few things in Firefox to speed browsing up but unfortunately for this problem I couldn't see an option as simple.

Hope this helps.

Comments

ruraltexan 4 months ago

I tried this up to a point. I have no greprefs sub directory on my computer. No all.js file either.

Windows 7 Ultimate, Firefox 9.0.1

holsworthycomputi 4 months ago

Hi, I am noticing this as well now. With all the updates they make they change the files and there does not appear to be the all.js file anywhere within the directories of the FF 9.0.1 installation.

I will try and figure out how this can be achieved on the newer version as I wrote this hub quite a long time ago when Firefox was much different.

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



    Like this Hub?
    Please wait working