Chrome Extension auto-install for Brave

Hi i created a chrome extension “stop-it”, who run’s under Chrome, Firefox, Opera, Vivaldi and Brave.

I created a small windows EXE who write keys in windows registry, when i launch my app, the keys are installed in the registry and when i start chrome, the extension is added without having to go to the chrome store !

the key created, is called: ExtensionInstallForcelist
it comes from chromium and works under chrome, vivaldi.

the key i try to use for Brave Browser use is:

[HKEY_CURRENT_USER\Software\BraveSoftware\Brave-Browser\PreferenceMACs\Default\extensions.settings\ExtensionInstallForcelist]
“1”=“mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx

The key is installed but nothing happens, add-on is not installed:

and i saw Brave install the extensions here:

HKEY_CURRENT_USER\Software\BraveSoftware\Brave-Browser\PreferenceMACs\Default\extensions.settings

the key i use for chrome & vivaldi is:

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallForcelist]
“1”=“mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx

How can i achieve that for Brave ?

That key ExtensionInstallForcelist prevent the user to remove or disable the extension.
my chrome extension block every adult site, ads, scams, hacks, ransomware and many more !

and here it’s my chrome extension path in the registry added trough the chrome store

HKEY_CURRENT_USER\Software\BraveSoftware\Brave-Browser\PreferenceMACs\Default\extensions.settings

Can someone help, with my issue ?

Thanks

@stop-it,
Apologies for the late response on this. I’ve reached out to the team to see if we can get some additional input on your issue. Appreciate your patience!

1 Like

Can you try to use the same path you use for Chrome/Vivaldi?
HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallForcelist

If that doesn’t work, try the HKEY_CURRENT_USER version:
HKEY_CURRENT_USER\Software\Policies\Google\Chrome\ExtensionInstallForcelist

We haven’t modified this logic as far as I know. It should be checking the same path that any Chromium based browser would use by default

Hi thanks, but none of those two keys are working, the add-on doesn’t install at all on Brave, but of course when i run chrome the add-on is auto-installed and locked.

here a screenshot, as you can see, under chrome the add-on is installed and locked, but under Brave Nothing happens.

if i install the add-on in Brave directly from the store it works add-on is added to Brave and the registry key is:

HKEY_CURRENT_USER\Software\BraveSoftware\Brave-Browser\PreferenceMACs\Default\extensions.settings

here a screenshot

but i tried all the combinations with:

[HKEY_CURRENT_USER\Software\BraveSoftware\Brave-Browser\PreferenceMACs\Default\extensions.settings\ExtensionInstallForcelist]
“1”=“mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx

[HKEY_CURRENT_USER\Software\BraveSoftware\Brave-Browser\PreferenceMACs\Default\extensions.settings\ExtensionInstallForcelist]
“mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallForcelist]
“1”=“mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallForcelist]
“mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallForcelist]
“mgbmndipjhghcencokiedbkfgbomdpmd”=“https://clients2.google.com/service/update2/crx

in fact no keys are added in the registry for Brave, so that’s weird

Those are my keys for Chrome browser:

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallForcelist]
“1”=“mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]
“IncognitoModeAvailability”=“0”

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]
“BrowserGuestModeEnabled”=“0”

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\BrowserAddPersonEnabled]
“DeviceAllowNewUsers”=“0”

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\AllowDeletingBrowserHistory]
“AllowDeletingBrowserHistory”=“1”

And the result is this, history deleted when browser close, no private mode, (incognito mode), No access to adult sites+ others bad & dangerous contents + profanity hidden:

chrome_disabled_incognitomode01

But under Brave nothing works, so i tried and added chrome keys to brave but nothing works keys are not working and the incognitomode called in Brave privatewindow is not deactivated !

So registry keys are different in Brave for sure! incognitomode_Brave_notdisabled

For all those keys i tried the paths of Chrome & Logical path of Brave, but nothing works, keys are sometimes added to the registry but not working at all !

Still need help to solve this !
Thanks !

Can i get some HELP form the Dev team ???
thanks

Hi @stop-it - sorry I didn’t follow up after you confirmed that did not work. I’m taking a look at the above and will try to make a recommendation

@stop-it can you try the following registry paths please?
HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave-Browser\ExtensionInstallForcelist
or
HKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave-Browser\ExtensionInstallForcelist

I’m hoping this should work. Basically, the path is matching the pattern Google is using for Chrome. Another one that you may try is the default path for Chromium:

HKEY_LOCAL_MACHINE\Software\Policies\Chromium\ExtensionInstallForcelist
or
HKEY_CURRENT_USER\Software\Policies\Chromium\ExtensionInstallForcelist

I believe one of these will work for you. Please let us know :slight_smile:

Thanks
Brian

Nope…
nothing works !!

@stop-it sorry to hear they didn’t work. I’m curious if any of our other users have gotten this working?

@clifton I am also having a similar issue on linux.
However my issue was a general issue with not getting the policies from chrome to move to brave, as you can see here.