javascript - Chrome inline installation does not display popup -
i'm trying make extension of chrome webstore installed on site through chrome.webstore.install function, not appear when click installation popup on button below ..
source:
<head> <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/nlmdaeedalndkbecknjlofncilhlemph"> </head> <body> <button onclick="chrome.webstore.install()" id="install-button">add chrome</button> </body>
you need allow inline installation work through app individually in chrome store. go developer dashboard here: developer dashboard
then go chrome extension , select "edit". allow "inline installation" , click publish.
more information on here: chrome inline-installation
Comments
Post a Comment