Chrome Extension auto-install for Brave


#1

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


#2

Can someone help, with my issue ?

Thanks


#3

@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!


#4

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


#5

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


#6

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 !


#7

Still need help to solve this !
Thanks !


#8

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