Chrome插件的inline installation

July 16, 2015

你已经安装了我的插件了

如果你能看到上面的按钮, 点击就会弹出安装的对话框。

需要四步:

  1. Verify the site in webmaster (we need different sites for different app if needed)

  2. Associated every single app to the site in dashboard of webstore

  3. 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 ).

  4. Use chrome.webstore.install(url, successCallback,failureCallback) to install the app without go to webstore