We’ve all be told numerous times that if we’re gonna go poking around in sensitive areas of our programs that we should always make sure we’ve backed everything up first, right?
Well, in the case of editing the about:config file in Mozilla Firefox, a backup is extra important! So, if you’re in the market to tweak a little bit, but want a safety net, then read on – we’re going to learn how to back it up!
Note: You may need to show hidden files for this to work. A tip for XP and Vista can be found here. For Windows 7, just type “Hidden Files” in the Search bar and pick “Show hidden files and folders” and choose the top choice. In any case, select the radio button next to “Show hidden files, folders and drives” and hit OK.
Moving on. This tip should apply to Firefox version 3.0 and up.
First, you’ll want to browse to the file’s location. Go into Windows Explorer and look in:
\Documents and Settings\<username>\Application Data\Mozilla\Firefox\Profiles\ <profile ID>.default\
Once you’ve reached this location, look for the prefs.js file. What you need to do is copy that file and paste it in a backup folder somewhere. This can be anywhere, or even on a USB thumb drive for extra safety.
Now edit the about:config file with reckless abandon! If Firefox ever gets majoryly messed up all you have to do is copy and paste your backed-up prefs.js file to its original location!