Hmm. That’s unfortunate. There is a possible way to do this now though if Brave can provide some details.
A partial example of a policy that used to install uBlock (cjpalhdlnbpafiamejdnhcphjbkeiagm) from the Chrome Web Store (https://clients2.google.com/service/update2/crx) before they removed it:
{
"AlwaysOpenPdfExternally": true,
"ImportSavedPasswords": false,
"CloudPrintSubmitEnabled": false,
"ExtensionInstallAllowlist": [
"cjpalhdlnbpafiamejdnhcphjbkeiagm"
],
"ExtensionInstallForcelist": [
"cjpalhdlnbpafiamejdnhcphjbkeiagm;https://clients2.google.com/service/update2/crx",
]
"DefaultBrowserSettingEnabled": true
}
If the folks at Brave just shared their uBlock’s new extension ID and crx update URL, then the existing ExtensionInstallForcelist policy should in theory work.
I push these policies out as configuration profiles for macOS to make sure that uBlock is installed and enabled, and a uBlock specific policy keeps it enabled and with some custom lists installed.
For those curious the macOS plist of such a policy for Brave would like like this for the extension above:
Preference Domain: com.brave.Browser.extensions.cjpalhdlnbpafiamejdnhcphjbkeiagm
Contents:
<?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>adminSettings</key>
<string>{
"timeStamp": UNIXTIMESTAMPGOESHERE,
"version": "UBLOCKVERSIONGOESHERE",
"userSettings": {
"externalLists": "https://EXAMPLE.COM/itsec/ublockStandard.txt",
"importedLists": [
"https://EXAMPLE.COM/itsec/ublockStandard.txt"
],
"popupPanelSections": 63
},
"selectedFilterLists": [
"user-filters",
"ublock-filters",
"ublock-badware",
"ublock-privacy",
"ublock-unbreak",
"easylist",
"easyprivacy",
"https://EXAMPLE.COM/itsec/ublockStandard.txt"
],
"hiddenSettings": {},
"whitelist": [
"about-scheme",
"chrome-extension-scheme",
"chrome-scheme",
"moz-extension-scheme",
"opera-scheme",
"vivaldi-scheme",
"wyciwyg-scheme"
],
"dynamicFilteringString": "",
"urlFilteringString": "",
"hostnameSwitchesString": "",
"userFilters": ""
}</string>
</dict>
</plist>
This enforces this uBlock configuration on all Brave profiles (unfortunately except private windows as there is no way to force extensions there) and if it’s modified, it will be reset when the browser re-opens.
It’s a nice first line of defense as well as a good way to clean up the internet for end users.