The closest analogy to manages its internal settings is the Windows Registry. Each setting, or preference, is given a name and stored as a string (text), integer (number) or Boolean (true/false) value.
Firefox keep in a file called prefs.js.
Type about:config in the address bar and press Enter, all the settings currently enumerated in prefs.js .
To add a new preference, right-click somewhere on the page and select New, then select the type of item to create (String, Integer or Boolean) and supply the name and value.
In Windows XP, the profile folder is
\Documents and Settings\
In Windows Vista, this folder is
\Users\
Note that Application Data and AppData are hidden folders by default, so they may not show up unless you force Explorer to show hidden objects. (Open the Control Panel, double-click Folder Options, select the View tab, select "Show hidden files and folders" and click OK.)
In Mac OS X, the profile folder is
and in Linux it's
~/.mozilla/firefox/