搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Am unable to control "security.sandbox.content.level" using mozilla.cfg on ESR 52.6.0.

more options

Updated to ESR 52.6.0 (On Windows Server 2016 / RDS)

My autoconfig.js file resides in the defaults\prefs folder and contains: // Any comment pref("general.config.filemane", "mozilla.cfg");

My mozilla.cfg file resides in the program folder (c:\program files (x86)\Mozilla Firefox) and contains: // Any comment lockPref("security.sandbox.content.level", 2);

I have tried setting it with just "pref" and "defaultPref" etc.

If I remove the mozilla.cfg file, I get an error that the config file is missing, so I know it is reading it. The problem is no sound can be heard on Mozilla thru an RDS session if the value is set to anything other than "2".

I've tried altering other settings within the mozilla.cfg file and it just appears to be ignoring every setting, period.

Thanks

Updated to ESR 52.6.0 (On Windows Server 2016 / RDS) My autoconfig.js file resides in the defaults\prefs folder and contains: // Any comment pref("general.config.filemane", "mozilla.cfg"); My mozilla.cfg file resides in the program folder (c:\program files (x86)\Mozilla Firefox) and contains: // Any comment lockPref("security.sandbox.content.level", 2); I have tried setting it with just "pref" and "defaultPref" etc. If I remove the mozilla.cfg file, I get an error that the config file is missing, so I know it is reading it. The problem is no sound can be heard on Mozilla thru an RDS session if the value is set to anything other than "2". I've tried altering other settings within the mozilla.cfg file and it just appears to be ignoring every setting, period. Thanks

被選擇的解決方法

I figured it out. Even though the "2nd" pref line of text in the autoconfig.js file appears to be an "example", if you remove that line, none of your settings will be read/applied. So in essence the following (3) lines of text are required:

// Any comment. You must start the file with a single-line comment! pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

I figured it out. Even though the "2nd" pref line of text in the autoconfig.js file appears to be an "example", if you remove that line, none of your settings will be read/applied. So in essence the following (3) lines of text are required:

// Any comment. You must start the file with a single-line comment! pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

由 willfish4fun 於 修改