Home > other >  Is there any way I can add a chrome extension via javascript code?
Is there any way I can add a chrome extension via javascript code?

Time:10-15

So what I want to create is a Bookmark Javascript that when you run it, it will add an extension to your browser, Is there any way to do that? Let me know please. Thanks.

CodePudding user response:

No. Chrome extension can be only installed when the user clicks on the blue Add to Chrome button on the Chrome Web Store. That is for security reasons to protect Chrome users.
To learn more see this official Chromium blog post: https://blog.chromium.org/2018/06/improving-extension-transparency-for.html

Before there was an inline installation for your own website. But that is deprecated
Source: https://developer.chrome.com/docs/extensions/mv2/inline_faq/

  • Related