I am trying to use the new built-in chrome installation function for extensions (see here http://code.google.com/chrome/webstore/docs/inline_installation.html ).
I can't get it to work unfortunately, and I have very few clues. I added a link element to the head element
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/pnnfemgpilpdaojpnkjdgfgbnnjojfik">
and i call
chrome.webstore.install();
in jquery event handler. I also checked my domain, however, I am testing this on a local machine, but have a subdomain pointing to my localhost (i.e. testing on dev.getbentobox.com, which maps to localhost in my hosts file, if that matters) .
When going through js using the chrome debugger, chrome.webstore.install () is called and the function is defined. However, nothing happens - it is not installed, no javascript exception, no console printing, nothing.
any ideas?
source
share