This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there a source to explain the meanings of entries in the prefs.js file?

  • 2 replies
  • 1 has this problem
  • 9 views
  • Last reply by cor-el

more options

I am setting up Wyse Thin Clients for a project for my company. The Thin Client is set up in kiosk mode and defaults to a default web site. When the Thin Client is not used for a period of time it goes to sleep. When it wakes up, it is losing its web site setting and loading the incorrect page. I have made changes to the privacy settings and saved them. These thin clients load the prefs.js file from a ftp server when they are booted up. I have a copy of the file that I send to the clients and one that ended up on the client. I need to know what each entry in the prefs.js file actually means to see if there is an invalid entry. I ahve searched the internet and can't find a reference that details these entries.

I am setting up Wyse Thin Clients for a project for my company. The Thin Client is set up in kiosk mode and defaults to a default web site. When the Thin Client is not used for a period of time it goes to sleep. When it wakes up, it is losing its web site setting and loading the incorrect page. I have made changes to the privacy settings and saved them. These thin clients load the prefs.js file from a ftp server when they are booted up. I have a copy of the file that I send to the clients and one that ended up on the client. I need to know what each entry in the prefs.js file actually means to see if there is an invalid entry. I ahve searched the internet and can't find a reference that details these entries.

All Replies (2)

more options

hello tim, this is probably a good starting point. http://kb.mozillazine.org/About:config_entries

more options

Note that the prefs.js file only stores prefs that have been modified and do not have the default value.

If you want to initialize prefs then you can use a user.js file in the Firefox profile folder or a mozilla.cfg file in the Firefox program folder

See:

Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

These functions can be used in the mozilla.cfg file:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes