This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

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

Gekose oplossing

We have a lot more information on using the policies.json file in the Customize 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.
Lees dié antwoord in konteks 👍 0

All Replies (1)

more options

Gekose oplossing

We have a lot more information on using the policies.json file in the Customize 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.