PLIST Configuration Extension Firefox

userjamf
Visitor

Hello everyone,

For the Chrome browser, I've created a PLIST for installing the extension and a second one for configuring the extension, and it works perfectly.

That's why I'd like to do the same for Firefox. The PLIST for installation works. But for the extension configuration PLIST I don't know how to do it? I can't find any information about this if it's possible.

Here's what I did for Chrome :

Preference domain : com.google.Chrome.extensions.IDextension

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>ConfigJson</key>
    <string>
        {
        "backend_servers": [
            {
            "title": "Exemple title",
            "url": "https://exemple.com"
            }
        ],
        "base_url": "https://exemple.com",
        "allow_custom_server": false,
        "allow_registration": true,
        "allow_lost_password": true
        }
    </string>
  </dict>
</plist>

 

2 REPLIES 2

mojo21221
Contributor II

I find for best results to use iMazing profile editor. https://imazing.com/ It has a customizable form with all the keys to Firefox and plenty of other 3rd party apps

Shyamsundar
New Contributor II

you can use the below code to install Extensions for firefox, For More information please refer the below link 

https://mozilla.github.io/policy-templates/#extensions

<dict>
  <key>Extensions</key>
  <dict>
    <key>Install</key>
    <array>
      <string>https://addons.mozilla.org/firefox/downloads/somefile.xpi</string>
      <string>//path/to/xpi</string>
    </array>
    <key>Uninstall</key>
    <array>
      <string>bad_addon_id@mozilla.org</string>
    </array>
    <key>Locked</key>
    <array>
      <string>addon_id@mozilla.org</string>
    </array>
  </dict>
</dict>