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

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 has this problem
  • 1 view
  • آخرین پاسخ توسّط 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)

All Replies (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