“未被捕获的Chrome网上应用店商品网址无效”同时在线安装Chrome扩展 [英] "Uncaught Invalid Chrome Web Store item URL" while inline installation of chrome extension

查看:131
本文介绍了“未被捕获的Chrome网上应用店商品网址无效”同时在线安装Chrome扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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


未捕获Chrome网上应用店项目URL无效。 p>

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

我已经完成了通过Chrome访问的内联安装来安装扩展。



我通过浏览器地址空间验证了内嵌安装中的url,该地址空间正确地获取了Chrome网上应用店的扩展位置。



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

解决方案

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



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


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

Uncaught Invalid Chrome Web Store item URL.

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

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

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

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

解决方案

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.

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.

这篇关于“未被捕获的Chrome网上应用店商品网址无效”同时在线安装Chrome扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆