chrome-extensions-samples icon indicating copy to clipboard operation
chrome-extensions-samples copied to clipboard

Policy extension source

Open difo opened this issue 2 years ago • 6 comments

I'm trying to add an extension from a custom repository on azure blob but the error below pops up every time. image

I've also try to force the origin (also any origin) as trusted source. I also tried to add the extension id to the allowlist image

To be honest it seems that the policy "extensioninstallsources" is ignored also if it's correctly loaded (see status).

We have a strong need to distribute the extension internally without publishing it in the store.

difo avatar May 26 '22 08:05 difo

Have you tried chrome://extensions, set Developer mode to on, Load unpacked?

guest271314 avatar Jun 07 '22 03:06 guest271314

ciao, yes in dev mode it works. It's a topic of whitelist a source that is not possible to do neither adding it using the policy that was designed for that.

difo avatar Jun 08 '22 09:06 difo

I think they use "blocklist" and "allowlist" and got rid of "whitelist" and "blacklist".

Is the error a Chrome error?

guest271314 avatar Jun 08 '22 12:06 guest271314

yes it's a chrome error when I try to add the extension it pop ups this image also if the policy is correctly loaded see the picture in the very first comment that the policy is displayed with an OK and yes the policies name are "allowlist" "extensioninstallsources"

difo avatar Jun 08 '22 14:06 difo

Then it is a Chrome bug.

guest271314 avatar Jun 09 '22 03:06 guest271314

steps to fix this error : step 1: open >>Properties>>Shortcut>>Target step 2: In target section add this line after giving a space -enable-easy-off-store-extension-install for example, my Target of chrome is "C:\Program Files\Google\Chrome\Application\chrome.exe" then give one space and add '-enable-easy-off-store-extension-install' this line

Old target:- "C:\Program Files\Google\Chrome\Application\chrome.exe" Updated target : "C:\Program Files\Google\Chrome\Application\chrome.exe" -enable-easy-off-store-extension-install

kunal0x00 avatar Apr 04 '23 05:04 kunal0x00