Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the BSD License.
©2012 Google
<link>
tag on your page with the chrome-webstore-item
relation, you can choose which item you'd like to install by passing in its URL here. If it is omitted, then the first (or only) link will be used. An exception will be thrown if the passed in URL does not exist on the page. If you specify the failureCallback parameter, it should specify a function that looks like this:
function(string error) {...};