Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

Vald lösning

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.
Läs svaret i sitt sammanhang 👍 0

Alla svar (1)

more options

Vald lösning

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.