搜索 | 用户支持

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

详细了解

Unable to give a complete path while setting config path for general.config.filename", as I want to lockdown configuration values differently for each user

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Giving a complete path while setting config path for "general.config.filename", as I want to lockdown configuration values differently for each user. I want to be able to do the below in all.js pref("general.config.filename", "%USERPROFILE%/mozilla.cfg"); but it doesn't seem to work. Is there a way of doing this. I greatly appreciate any approach of a way to be able to set the lock down config file path on a per user basis.

Best Regards Venkata

User Agent

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

Giving a complete path while setting config path for "general.config.filename", as I want to lockdown configuration values differently for each user. I want to be able to do the below in all.js pref("general.config.filename", "%USERPROFILE%/mozilla.cfg"); but it doesn't seem to work. Is there a way of doing this. I greatly appreciate any approach of a way to be able to set the lock down config file path on a per user basis. Best Regards Venkata == User Agent == Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

所有回复 (1)

more options

The only way to do that is to install Firefox for each user individually and place the corresponding mozilla.cfg in each program folder.

See also http://mxr.mozilla.org/mozilla-central/source/extensions/pref/autoconfig/src/prefcalls.js