3

要安装无CRX Web应用程序,需要manifest.json文件。
然后必须调用函数chrome.app.install()。
逻辑上应用程序应该安装,但它不会。铬告诉我再约,但:安装crx-less网络应用程序

TypeError: Property 'install' of object #<Object> is not a function 
Enable is about:flags 

如在chrome docs描述这可能是因为“CRX-less网络应用”标志已被激活的情况下,但是这可能isn't的方式Google Chrome或Chrome Canary的最新版本。

希望有人知道问题的答案。

一个不工作的例子是http://www.htmlfivewow.com/demos/terminal/terminal.html。你可以尝试简单地输入安装

回答

1

CRX-less应用程序实验已从Chrome中删除(位于revision 188261)。

您报告的错误是因为typeof chrome.app.install"undefined"

我已经提交了问题 245161来清理文档,并且245162删除chrome.app.install。

+0

谢谢,不知道。 –

+0

那么基本上,所有使用它创建的应用程序现在都不能再使用了吗?还是有一些替代? – Torben

相关问题