GoogleChrome / chrome-extensions-samples

Chrome Extensions Samples
https://developer.chrome.com/docs/extensions
Apache License 2.0
14.88k stars 8.04k forks source link

Policy extension source #717

Open difo opened 2 years ago

difo commented 2 years ago

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.

guest271314 commented 2 years ago

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

difo commented 2 years ago

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.

guest271314 commented 2 years ago

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

Is the error a Chrome error?

difo commented 2 years ago

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"

guest271314 commented 2 years ago

Then it is a Chrome bug.

kunal0x00 commented 1 year ago

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