chrome.webstore.install();没有在验证的网站上工作 [英] chrome.webstore.install(); Not working on verified site
问题描述
当我尝试使用chrome.webstore.install();函数在我的已验证网站上为我的Chrome扩展插件返回此错误
When I attempt to use the chrome.webstore.install(); function on my verified website for my chrome extension, it returns this error
安装只能由Chrome网上应用店项目的已验证网站
Installs can only be initiated by the Chrome Web Store item's verified site
即使该网站是该商品的已验证网站。
Even when the website is the item's verified site.
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/oogdogaijchgbmakknkjcmimfgdpodil">
任何帮助我们都会感激不尽。
Any help would be appreciated.
推荐答案
如果您验证域的所有权(例如, http://example.com
if you verify ownership for a domain (for example, http://example.com) you can only initiate inline installation from any subdomain or page (for example, http://app.example.com or http://example.com/page.html). Check this validation. Having picbox.us is domain verified, you need to make a default page say picbox.us\index.html and post all your content there to get chrome inline installation running.
这篇关于chrome.webstore.install();没有在验证的网站上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!