chrome.webstore.install(); Not working on verified

2019-04-15 12:10发布

When I attempt to use the chrome.webstore.install(); function on my verified website for my chrome extension, it returns this error

Installs can only be initiated by the Chrome Web Store item's verified site

Even when the website is the item's verified site.

I do have the link to the item in the head tag:

<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/oogdogaijchgbmakknkjcmimfgdpodil">

Any help would be appreciated.

1条回答
Root(大扎)
2楼-- · 2019-04-15 12:52

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.

enter image description here

查看更多
登录 后发表回答