How to lock Mozilla Firefox Homepage

As a administrator, management always request you to set the official web site as a home page for all the web browser.

If you want to prevent your user changing the homepage setting, you need to lock certain setting or option. In Internet Explorer, we can easily restrict the homepage setting from Group Policy. How about Mozilla Firefox? We unable to do it from Group Policy.

Here i going to show your how to lock Mozilla Firefox homepage.

Here are the steps:

1. Launch you notepad or others text editor

2. Enter the following code to the text file

lockPref("browser.startup.homepage", "");

3. Save this text file as Mozilla.txt

4. Download Byte Shifter to encoded Mozilla.txt to Mozilla.cfg

5. After download, launch Byte Shifter program to do the encoding.


Input file :  C:\Documents and Settings\Steve Lam\Desktop\mozilla.cfg (Location of you Mozilla.txt)

Output file :  C:\Documents and Settings\Steve Lam\Desktop\mozilla.cfg (Location that decode)

shift by : 13 Bytes

Byte Shifter

6. Click Go to encode it. The resulting file should be named mozilla.cfg.Save it to the same directory as firefox.exe (C:\Program Files\Mozilla Firefox)

7. Looking for all.js from C:\Program Files\Mozilla Firefox\greprefs\. Open all.js with text editor and add the following line at the end of the file

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

8. Save the file and restart your Firefox. Now you will realize that your homepage has been change and you unable to change it from the Firefox option.

Leave a Reply

Your email address will not be published. Required fields are marked *