How to link to chrome extension like Chrome Web Store? How to link to chrome extension like Chrome Web Store? google-chrome google-chrome

How to link to chrome extension like Chrome Web Store?


Chrome webstore has special treatment, you can't reproduce it.

To save you trouble of self hosting, you can provide a direct link to crx file hosted on webstore which has the following format:

http://clients2.google.com/service/update2/crx?response=redirect&x=id%3D<EXTENSION_ID_HERE>%26uc%26lang%3Den-US&prod=chrome

Users would still need to confirm 2 times, but at least you don't have to host it and users won't leave your site.

UPDATE

Chrome 15, that was just released into stable branch, has Inline Installation, which seems like exactly what you are looking for.


Chrome now has inline install that enables a one-click install on your site but downloading from the store.

See here for more details.


Add something like this to your meta-data

<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/you-chrome-id">

Add this any where:

onclick="javascript:chrome.webstore.install()"