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

相關問題