Chrome插件的inline installation
July 16, 2015
你已经安装了我的插件了
如果你能看到上面的按钮, 点击就会弹出安装的对话框。
需要四步:
-
Verify the site in webmaster (we need different sites for different app if needed)
-
Associated every single app to the site in dashboard of webstore
-
Add chrome web store tag in the <head> of the page that we want to place the install button ( https://developer.chrome.com/webstore/inline_installation?hl=en-US ).
-
Use chrome.webstore.install(url, successCallback,failureCallback) to install the app without go to webstore