Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Uncaught Invalid Chrome Web Store item URL" while inline installation of chrome extension

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.

like image 750
ayyan Avatar asked Oct 09 '12 09:10

ayyan


People also ask

What is the URL for Chrome extensions?

This corresponds to the user-controlled per-extension 'Allow access to File URLs' setting accessible via the chrome://extensions page.

How do I unblock extensions on Chrome Web Store?

Go to Allow/block mode. Click Edit. For Play Store, choose what type of apps and extensions you want to let users install.

How do I install extensions Not from Chrome Web Store?

There's however an easy workaround to this problem. First download the CRX file of any Chrome extension /web-app to your computer. Then click the Settings icon in Chrome (previously a Wrench icon) and go to Tools -> Extensions. Drag and drop the CRX file on this page and Chrome will gladly install the add-on.


1 Answers

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.

like image 159
Mihai Parparita Avatar answered Jan 05 '23 06:01

Mihai Parparita