I have followed the deployment instruction of an inline installation of my extension on a site that I have verified.
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/jakgfopmadhihjajjegmbnaiimjbmdlk">
And for the button:
<a href="javascript:chrome.webstore.install();">Install me</a>
But when I press the button i get this strange error:
Uncaught No Chrome Web Store item link found.
I know the question is very old but in case if someone else is facing:
You need to provide the URL and call back functions in the function chrome.webstore.install()
.
Here is the code:
in the <head>
put <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/jakgfopmadhihjajjegmbnaiimjbmdlk">
and call via javascript:
chrome.webstore.install('https://chrome.google.com/webstore/detail/jakgfopmadhihjajjegmbnaiimjbmdlk',
function(d){
console.log('installed')
},
function(e){
console.log('not installed: '+ e)
});
Source: https://developer.chrome.com/webstore/inline_installation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With