Auto-installing extensions on Firefox using Intune
To build onto my previous blog post concerning ADMX ingestion in Intune to configure Mozilla Firefox settings I'm going to show you how to auto-install extensions in Firefox with Intune.
In this example I'm using the uBlock Origin extension as an example.
First you'll need to get the URL of the extension. This is different from Chrome where you just need to get the ID of the extension. The easiest way I found to do this is to open Firefox and go to the Extensions Page at Mozilla and locate the extensions you want to install. Then right-click and copy the link to the "Add to Firefox" button on the extension page. Save the link for later.
Now go to the Custom OMA-URI Settings profile in Intune and add a new row. Configure the fields as follows:
Name:
Extensions_Install
OMA-URI (case sensitive):
./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Extensions/Extensions_Install
Data type (String value)*:
<enabled/>
<data id="Extensions" value="1INSERT LINK COPIED ABOVE HERE"/>
In this example I'm using the uBlock Origin extension as an example.
First you'll need to get the URL of the extension. This is different from Chrome where you just need to get the ID of the extension. The easiest way I found to do this is to open Firefox and go to the Extensions Page at Mozilla and locate the extensions you want to install. Then right-click and copy the link to the "Add to Firefox" button on the extension page. Save the link for later.
Now go to the Custom OMA-URI Settings profile in Intune and add a new row. Configure the fields as follows:
Name:
Extensions_Install
OMA-URI (case sensitive):
./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Extensions/Extensions_Install
Data type (String value)*:
<enabled/>
<data id="Extensions" value="1INSERT LINK COPIED ABOVE HERE"/>
In my example for uBlock Origin my Data type value would be this:
<enabled/>
<data id="Extensions" value="1https://addons.mozilla.org/firefox/downloads/file/3361355/ublock_origin-1.21.2-an+fx.xpi?src=featured"/>
The Unicode character 0xF000; in its HTML encoded form () is used as the string separator in the value of the Extensions field. So "1https://addons.mozilla.org/firefox/downloads/file/3361355/ublock_origin-1.21.2-an+fx.xpi?src=featured" is two separated strings between the "1" and "https://addons.mozilla.org/firefox/downloads/file/3361355/ublock_origin-1.21.2-an+fx.xpi?src=featured" and looks like this when added to the registry:
If you wanted to add two extensions it would look like this:
<data id="Extensions" value="1https://link-to-extension2https://link-to-extension"/>
<enabled/>
<data id="Extensions" value="1https://addons.mozilla.org/firefox/downloads/file/3361355/ublock_origin-1.21.2-an+fx.xpi?src=featured"/>
The Unicode character 0xF000; in its HTML encoded form () is used as the string separator in the value of the Extensions field. So "1https://addons.mozilla.org/firefox/downloads/file/3361355/ublock_origin-1.21.2-an+fx.xpi?src=featured" is two separated strings between the "1" and "https://addons.mozilla.org/firefox/downloads/file/3361355/ublock_origin-1.21.2-an+fx.xpi?src=featured" and looks like this when added to the registry:
<data id="Extensions" value="1https://link-to-extension2https://link-to-extension"/>
VriconZcast_ha Brandy Berry https://wakelet.com/wake/WHZzj36WFQ2TQ7KxGRmBc
ReplyDeletedystchrisennak
Acesrepatpi Dereck Goon Tor browser
ReplyDeleteReg Organizer
R-Studio
orestworun
Wmonsvileyu Tanner Young Download
ReplyDeleteClick
oopecadhe
Your awesome! Thank you, on Firefox git, they didn't fully explain the "" string.
ReplyDeleteIt didn't helped me on ublock origin.. :(
ReplyDelete