Self Hosting Extension

1,090 views
Skip to first unread message

David

unread,
May 25, 2022, 10:52:10 AM5/25/22
to Chromium Extensions
I have developed an extension (MV3) that we want to force-install in our organization (it's very basic and only works on a specific website) and we don't need to host it in CWS.

I followed the latest documentation AFAIK:
https://support.google.com/chrome/a/answer/9296680

We manage our browsers via Google Workspace but we don't manage the devices.

I'm able to add the extension in the apps & extensions dashboard (Google Workspace), the policy is correctly updated to the browsers, but the extension is not installed. 

how can I debug the deployment process? what should I do?

attached is the Enterprise Check histogram (I've enrolled the device I'm trying to install on)


More info:
I've add the extension by ID and from a custom URL, the URL is the xml file as detailed in the document.
I tried to enroll the device hoping it would solve the issue and it didn't.


histogrampng.png

David

unread,
May 29, 2022, 4:53:25 AM5/29/22
to Chromium Extensions
Any update? Could someone assist? 

Clay Smith

unread,
May 29, 2022, 6:26:04 AM5/29/22
to David, Chromium Extensions
Hi David,
I have some info on self hosting on GitHub. https://github.com/claycodes/youtubecookiecheck
I usually use Firebase hosting to do this and use the url path to the folder the extension code is in. 

Happy to take a look at what you are doing more deeply. 

Clay

On May 29, 2022, at 04:53, David <sarkisian...@gmail.com> wrote:

Any update? Could someone assist? 
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/3c94da91-bff8-4831-8cd0-8457b01c7140n%40chromium.org.

David

unread,
May 29, 2022, 9:49:36 AM5/29/22
to Chromium Extensions, Clay Smith, Chromium Extensions
Hi Clay,

Thanks for the information!
I made it work. Apparently I had the wrong extension ID the whole time.
figured out the correct extension ID with https://crx-checker.appspot.com/ and just updated the xml.

Thanks for the help.
For whom it may concern:
I was able to privately host the extension on AWS S3 (should be publicly available) and force install it (+pin to taskbar) on the browsers (Mac + Windows) in the organization (using Google Workspace).

David

Muhammad Najam Sheraz

unread,
Jun 8, 2022, 2:30:56 AM6/8/22
to Chromium Extensions, David, Clay Smith, Chromium Extensions
Hi David,
Is it possible for MV3 extension to be self-hosted and deployed through enterprise policies for windows, I am trying to deploy my self hosted chrome extension in Windows, but I am facing some issues, my hosting has been successful, but I am unable to see my extension deployed. Can you kindly guide me through it.
my XML file looks like this,
<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
<app appid="gcmkajaolekialpdnhhhpodmbpjoephg">
<updatecheck codebase="https://<mysite>/SocialMediaBLocker.crx" version="1.0.0"/>
</app>
</gupdate>

and my windows policy looks like "gcmkajaolekialpdnhhhpodmbpjoephg;https://<mysite>/update.xml"
I have tried it with google workspace too but was unsuccessful.

Najam
Reply all
Reply to author
Forward
0 new messages