【问题标题】:Chrome extension inline install not working in verified IP siteChrome 扩展内联安装在经过验证的 IP 站点中不起作用
【发布时间】:2015-08-31 21:31:39
【问题描述】:
  1. 我已使用网站管理员工具验证了我的 IP(不是域),并且验证成功。
  2. 我已添加 <link> 并调用 chrome.webstore.install() 并收到此错误:

    Inline installs can only be initiated for Chrome Web Store items that have one or more verified sites.

我想我应该从子域或页面调用 chrome.webstore.install()。所以我从一个页面(index.html)调用,但 url 只是 IP。(如http://52.1.165.721/#/home)(Angular UI 路由和索引是默认页面。)

我的问题是:

1.我还没有域名。有问题吗?

2.我必须从主页本身安装扩展。我有一些网站(例如:https://adblockplus.org/)作为示例。但不知道该怎么做。请帮忙。

我经历过

How to test inline installation of Chromium/Chrome extensions locally? , Chrome Inline Install for extension not workingchrome.webstore.install(); Not working on verified site

【问题讨论】:

  • 您是否已将您所谓的已验证域添加到网上商店商品中?
  • 是的。我可以在网上商店的右下角看到网站链接。
  • 查看this answer 中的第一个屏幕截图 - 你是这样做的吗?网站链接不同。
  • 感谢您的帮助。糟糕的是,我使用普通的 gmail 帐户验证了网站,并使用工作 gmail 上传了扩展程序。

标签: google-chrome google-chrome-extension


【解决方案1】:

所以正如 Xan 所说,我添加了网站链接,但没有填写 Verify that this is an official item for a website you own:,因为我的域没有在那里列出。

问题是我使用我的工作帐户上传了扩展程序,并使用我的个人帐户验证了网站。所以我在https://support.google.com/webmasters/answer/2454036?vid=1-635766230904751668-2044003462 的帮助下将我的另一个帐户添加为所有者,刷新列表就可以了。

所以我从下拉列表中选择了经过验证的站点,两分钟后内联安装成功。

结果:

1.我们不需要购买域名。 IP 将起作用。

2.从主页本身调用 chrome.webstore.install() 也可以。 (我认为网址无关紧要)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-01-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-09
    • 2013-05-14
    • 1970-01-01
    相关资源
    最近更新 更多