-
Notifications
You must be signed in to change notification settings - Fork 5
Bulletproof installation
How to install the addon so that it cannot be uninstalled or disabled? This depends on the OS and Browser
For chromium, add the ExtensionInstallForceList
in f.ex. /etc/chromium/policies/managed/safe.json
(can be another file in that directory)
{
"ExtensionInstallForcelist": [
"fiopkogmohpinncfhneadmpkcikmgkgc;https://clients2.google.com/service/update2/crx"
]
}
You can use the new policies.json
file:
{
"policies": {
"Extensions": {
"Install": [
"https://addons.mozilla.org/firefox/downloads/latest/sas/"
],
"Locked": [
"{b52acdad-e4a6-44da-afc9-9bd22572db99}"
]
}
}
}
Write this file to your Firefox distribution dir. On Ubuntu with Firefox ESR 60.2, this is
/usr/lib/firefox-esr/distribution
You might need to create it.
Follow the instructions at https://support.google.com/chrome/a/answer/187202?hl=en, setting the extension update URL to fiopkogmohpinncfhneadmpkcikmgkgc;https://clients2.google.com/service/update2/crx
. If the gpedit.msc
step does not find the program, you can follow http://www.askvg.com/how-to-enable-group-policy-editor-gpedit-msc-in-windows-7-home-premium-home-basic-and-starter-editions.
see the Linux solution, change the distribution dir. @sfrauenfelder gives the target file as C:\Program Files\Mozilla Firefox\distribution\policies.json
or
C:\Program Files (x86)\Mozilla Firefox\distribution\policies.json
.
He also provides the following links
- General overview of customising Firefox with policies: https://support.mozilla.org/en-US/products/firefox-enterprise/policies-customization-enterprise/policies-overview-enterprise
- Specifically with policies.json: https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson
- See active policies: https://support.mozilla.org/en-US/kb/see-active-policies-firefox-enterprise