为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 1 人有此问题
  • 9 次查看
  • 最后回复者为 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.

所有回复 (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