在内嵌安装Chrome扩展程序时,“未使用的Chrome网上应用店商品URL无效”

时间:2022-10-24 10:20:49

I have created a Chrome extension and also published it to tester group on Chrome Webstore. When I am trying to load (add) the extension from my site, getting error as

我创建了Chrome扩展程序,并将其发布到Chrome Webstore上的测试人员组。当我尝试从我的网站加载(添加)扩展时,得到错误

Uncaught Invalid Chrome Web Store item URL.

未捕获无效的Chrome网上应用店项目网址。

On method Installer.prototype.install = function(url, onSuccess, onFailure) in webstore javascript file (provide by chrome to install extension on browser).

在webstore javascript文件中的方法Installer.prototype.install = function(url,onSuccess,onFailure)(由chrome提供以在浏览器上安装扩展)。

I have done to install extension by inline installation which is approached by Chrome.

我已经完成了通过Chrome接近的内联安装来安装扩展程序。

I have verified the "url" on inline installation by browser address space which is properly getting the extension location on chrome web store.

我已经通过浏览器地址空间验证了内联安装的“网址”,这正确地获取了Chrome网上商店的扩展位置。

I am not able to find the problem, please help me to come out of this.

我无法找到问题,请帮我解决这个问题。

1 个解决方案

#1


30  

Make sure that your URL is of the form https://chrome.google.com/webstore/detail/itemID. The Chrome Web Store recently started to advertise URLs of the form https://chrome.google.com/webstore/detail/*title*/itemID, which are not accepted for inline installation.

确保您的网址格式为https://chrome.google.com/webstore/detail/itemID。 Chrome网上应用店最近开始宣传https://chrome.google.com/webstore/detail/*title*/itemID格式的网址,这些网址不接受内联安装。

For example, for Google Mail Checker, the URL should be https://chrome.google.com/webstore/detail/mihcahmgecmbnbcchbopgniflfhgnkff, not https://chrome.google.com/webstore/detail/google-mail-checker/mihcahmgecmbnbcchbopgniflfhgnkff.

例如,对于Google Mail Checker,网址应为https://chrome.google.com/webstore/detail/mihcahmgecmbnbcchbopgniflfhgnkff,而不是https://chrome.google.com/webstore/detail/google-mail-checker/mihcahmgecmbnbcchbopgniflfhgnkff 。

#1


30  

Make sure that your URL is of the form https://chrome.google.com/webstore/detail/itemID. The Chrome Web Store recently started to advertise URLs of the form https://chrome.google.com/webstore/detail/*title*/itemID, which are not accepted for inline installation.

确保您的网址格式为https://chrome.google.com/webstore/detail/itemID。 Chrome网上应用店最近开始宣传https://chrome.google.com/webstore/detail/*title*/itemID格式的网址,这些网址不接受内联安装。

For example, for Google Mail Checker, the URL should be https://chrome.google.com/webstore/detail/mihcahmgecmbnbcchbopgniflfhgnkff, not https://chrome.google.com/webstore/detail/google-mail-checker/mihcahmgecmbnbcchbopgniflfhgnkff.

例如,对于Google Mail Checker,网址应为https://chrome.google.com/webstore/detail/mihcahmgecmbnbcchbopgniflfhgnkff,而不是https://chrome.google.com/webstore/detail/google-mail-checker/mihcahmgecmbnbcchbopgniflfhgnkff 。