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!

当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Wesley Branton

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 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.
この回答をすべて読む 👍 0

すべての返信 (1)

more options

選ばれた解決策

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.