How to change your prefs


Howto from mozilla.org

If you want to change your prefs for Mozilla, you should first locate your prefs.js file. This file is normally found in your profile directory. Example paths to your profile directory that contains prefs.js are

Windows: C:\Documents And Settings\Pratik\Application Data\Mozilla\Users50\Default User\jdghriwb.slt\
Linux: /home/pratik/.mozilla/default/ghtrfgip.slt/

Once you've got your profile directory, you should be able to see the file prefs.js there. Before you make any changes to this file you must shutdown Mozilla completely (including quicklaunch for all ye Windows folks). Now you can start modifying your prefs.js file and adding options that you want.

A Better approach
A better way to do this is to create a file called user.js (if it doesn't already exist) in your profile directory and add your options there. Mozilla will read in your user.js after reading in prefs.js so you can override stuff in prefs.js.

Caveat: Bear in mind though, Mozilla writes prefs.js at shutdown, which means that prefs in user.js get written into prefs.js after your first invocation. Thus, if you change your pref in user.js, everythings cool and at the next invocation Mozilla will pick up the new value. BUT if you want to delete a pref then just deleting it from user.js won't work. You will have to delete it from prefs.js too!

Back



Maintained by Pratik Solanki. email: pratik.solanki@gmail.com


1