搜尋 Mozilla 技術支援網站

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

Learn More

Deploying Firefox 60ESR with policies.json doesn't appear to do anything.

more options

Extracted setup installer, created "distribution" directory within core, and added a policies.json file. Installed Firefox 60.1.0esr 64-bit, and created a new firefox profile for testing. Doesn't appear any policies actually apply, including bookmarks, cookies, DisableTelemetry,DisplayBookmarksToolbar,DisplayMenuBar.

Tested individual policies as listed within the README.md file within GitHub, and also tested creating of new policies.json files with the help of a niftly little add-on called "Enterprise Policy Generator".

In troubleshooting, I've done the following: -Uninstall all instances of Firefox, and removed their existing installer directories in Program Files and Program Files (x86) -Removed Mozilla directories from AppData\Local, AppData\LocalLow, and AppData\Roaming -Removed registry keys from HKCU\Software\Mozilla*, and HKLM\Software\Mozilla* -Reinstalled a freshly customized install with only one policy to isolate the issue -Tested other versions of Firefox 60, including Firefox 60.0esr, 60.0rr

Extracted setup installer, created "distribution" directory within core, and added a policies.json file. Installed Firefox 60.1.0esr 64-bit, and created a new firefox profile for testing. Doesn't appear any policies actually apply, including bookmarks, cookies, DisableTelemetry,DisplayBookmarksToolbar,DisplayMenuBar. Tested individual policies as listed within the README.md file within GitHub, and also tested creating of new policies.json files with the help of a niftly little add-on called "Enterprise Policy Generator". In troubleshooting, I've done the following: -Uninstall all instances of Firefox, and removed their existing installer directories in Program Files and Program Files (x86) -Removed Mozilla directories from AppData\Local, AppData\LocalLow, and AppData\Roaming -Removed registry keys from HKCU\Software\Mozilla*, and HKLM\Software\Mozilla* -Reinstalled a freshly customized install with only one policy to isolate the issue -Tested other versions of Firefox 60, including Firefox 60.0esr, 60.0rr

被選擇的解決方法

We have a lot more information on using the policies.json file in the Customizing Firefox Using policies.json documentation.

For test purposes, try making a policies.json file with the following code:

{ "policies": { "BlockAboutConfig": true } }

This file should be located in the Firefox ESR installation directory under a folder called distribution, which you will likely need to create.

To test if it's working, open Firefox and enter about:config in the Firefox address bar. You should then get a page that says it was blocked.

Let us know if this works for you. If it's blocked, there is likely an issue with the code that you created within your policies.json file originally.

NOTE: The policies.json file will not work if your system(s) has Windows Group Policy for Firefox configured.
從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

We have a lot more information on using the policies.json file in the Customizing Firefox Using policies.json documentation.

For test purposes, try making a policies.json file with the following code:

{ "policies": { "BlockAboutConfig": true } }

This file should be located in the Firefox ESR installation directory under a folder called distribution, which you will likely need to create.

To test if it's working, open Firefox and enter about:config in the Firefox address bar. You should then get a page that says it was blocked.

Let us know if this works for you. If it's blocked, there is likely an issue with the code that you created within your policies.json file originally.

NOTE: The policies.json file will not work if your system(s) has Windows Group Policy for Firefox configured.