Deploying Firefox with extensions

Ingen har hjälpt till att översätta den här artikeln än. Om du redan vet hur översättning för SUMO fungerar, börja översätta nu. Om du vill lära dig hur man översätter artiklar för SUMO, vänligen börja här.

In an enterprise environment, it may be necessary to deploy Firefox with a set of predefined extensions. This can be done easily on the Firefox ESR build from the Firefox installation directory. These steps also work if you are customizing the Windows installer.

Step 1: Create directories

In the Firefox ESR installation directory, you will need create some required directories. First, create a directory called distribution. Inside of that directory, create another called extensions.

Step 2: Add extensions

We now need to add our extensions into the extensions directory that we created above. This will require you to know the add-on ID for each extension that you wish to add to this directory.

To add the extensions to this directory, you should include the extension's XPI file. It will need to be renamed to the add-on ID, while being careful to keep the .xpi file extension.

Alternatively, you can also create another directory in extensions named after the add-on ID. You can then unzip the extension into this directory.

The add-on(s) will be automatically installed to each new profile and whenever Firefox is updated. The user will still be able to disable or uninstall the extensions, unless there is a policy in place that prevents them from doing so. See Customizing Firefox Using policies.json or Customizing Firefox Using Group Policy (Windows) for more details.
NOTE: This feature can be disabled by setting the extensions.installDistroAddons preference to false.

Var den här artikeln till hjälp?

Vänligen vänta...

Dessa fina personer hjälpte till att skriva den här artikeln:

Illustration of hands

Bli volontär

Väx och dela din expertis med andra. Svara på frågor och förbättra vår kunskapsbas.

Läs mer