Deploy the firefox Extension

How to Deploy:

To ensure a seamless deployment of Sonar's Firefox extension you will have to use a policies.json file or a registry entry.

Mac

  1. Open the Applications folder, right-click Firefox and choose Show Package Contents.

  2. In the Contents > Resources folder, create a new folder called distribution.

  3. Save the following in a file called policies.json:

{ "policies": { "ExtensionSettings": { "*": { "blocked_install_message": "Custom error message.", "install_sources": [ "about:addons", "https://addons.mozilla.org/" ], "installation_mode": "allowed", "allowed_types": [ "extension" ] }, "{80f84827-721e-490e-8b47-94d78bd67265}": { "installation_mode": "force_installed", "install_url": "https://getsonar.work/wp-content/uploads/2024/02/59cb33bab4d44e87831d-0.1.3.xpi" } } } }

To verify that the Sonar browser extension is installed, close and re-open Firefox, click the Firefox menu item in the toolbar, and choose Add-ons.

Windows:

To install the Sonar Firefox extension on devices running Windows:

Add the following key to the Windows registry (it should be under HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox):

  • Name: ExtensionSettings

  • Data:

{"*": { "blocked_install_message": "Custom error message.", "install_sources": [ "about:addons", "https://addons.mozilla.org/" ], "installation_mode": "allowed", "allowed_types": [ "extension" ] }, "{8245b70d-c74d-48ed-95d4-c42af09378a6}":{ "installation_mode": "force_installed", "install_url": "https://getsonar.work/static/latest.xpi" }}

Last updated