Customizing Firefox Using policies.json

On macOS and Linux, policy support is implemented using a JSON file called policies.json. On macOS, this file goes into a directory called distribution in the directory. On Linux, this file goes into the distribution directory where Firefox is installed. This directory is not normally there, so you might have to create it.

The policies.json file looks like this:

 "policies": {
   "BlockAboutConfig": true

In this example, we are setting the policy BlockAboutConfig to true which means that the user will not have access to about:config.

Information about specific policies is available in the README on our GitHub repository -

This will always have the latest information on our policies.

Was this article helpful? Please wait...

These fine people helped write this article: Joni. You can help too - find out how.