【发布时间】:2014-11-12 11:48:19
【问题描述】:
我创建了一个 Chrome 打包应用程序,当我在命令提示符中执行以下行时,它会启动该打包应用程序:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --load-and-launch-app="chrome-app-path-goes-here"
如何通过单击 html 页面中的按钮来启动此 Chrome 应用程序?有什么 javascript 或 jQuery 方法可以做到这一点吗?
【问题讨论】:
标签: javascript jquery html google-chrome-app