OLD | NEW |
1 <div id="pageData-name" class="pageData">Autoupdating</div> | 1 <div id="pageData-name" class="pageData">Autoupdating</div> |
2 <div id="pageData-showTOC" class="pageData">true</div> | 2 <div id="pageData-showTOC" class="pageData">true</div> |
3 | 3 |
4 <p>We want extensions to be autoupdated for some of the same reasons as Google C
hrome itself: to incorporate bug and security fixes, add new features or perform
ance enhancements, and improve user interfaces.</p> | 4 <p>We want extensions to be autoupdated for some of the same reasons as Google C
hrome itself: to incorporate bug and security fixes, add new features or perform
ance enhancements, and improve user interfaces.</p> |
5 | 5 |
6 <p>If you publish your extension using the <a href="https://chrome.google.com/we
bstore/developer/dashboard">Chrome Developer Dashboard</a>, you can <em>ignore t
his page</em>. You can use the dashboard to release updated versions of your ext
ension to users, as well as to the Extensions Gallery or Chrome Web Store.</p> | 6 <p>If you publish your extension using the <a href="https://chrome.google.com/we
bstore/developer/dashboard">Chrome Developer Dashboard</a>, you can <em>ignore t
his page</em>. You can use the dashboard to release updated versions of your ext
ension to users, as well as to the Chrome Web Store.</p> |
7 | 7 |
8 <p>If you want to host your extension somewhere other than the gallery or store,
keep reading. | 8 <p>If you want to host your extension somewhere other than the store, keep readi
ng. |
9 You should also read <a href="hosting.html">Hosting</a> and | 9 You should also read <a href="hosting.html">Hosting</a> and |
10 <a href="packaging.html">Packaging</a>.</p> | 10 <a href="packaging.html">Packaging</a>.</p> |
11 | 11 |
12 | 12 |
13 <h2>Overview</h2> | 13 <h2>Overview</h2> |
14 <ul><li>An extension manifest may contain an "update_url" field, pointing to a l
ocation for doing update checks.</li> | 14 <ul><li>An extension manifest may contain an "update_url" field, pointing to a l
ocation for doing update checks.</li> |
15 <li>The content returned by an update check is an <em>update manifest</em> XML d
ocument listing the latest version of an extension.</li></ul> | 15 <li>The content returned by an update check is an <em>update manifest</em> XML d
ocument listing the latest version of an extension.</li></ul> |
16 | 16 |
17 <p>Every few hours, the browser checks whether any installed extensions have an
update URL. For each one, it makes a request to that URL looking for an update m
anifest XML file. If the update manifest mentions a version of an extension that
is more recent than what's installed, the browser downloads and installs the ne
w version. As with manual updates, the new <code>.crx</code> file must be signed
with the same private key as the currently installed version.</p> | 17 <p>Every few hours, the browser checks whether any installed extensions have an
update URL. For each one, it makes a request to that URL looking for an update m
anifest XML file. If the update manifest mentions a version of an extension that
is more recent than what's installed, the browser downloads and installs the ne
w version. As with manual updates, the new <code>.crx</code> file must be signed
with the same private key as the currently installed version.</p> |
18 | 18 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 <pre><?xml version='1.0' encoding='UTF-8'?> | 128 <pre><?xml version='1.0' encoding='UTF-8'?> |
129 <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> | 129 <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> |
130 <app appid='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'> | 130 <app appid='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'> |
131 <updatecheck codebase='http://myhost.com/mytestextens
ion/mte_v2.crx' version='2.0' <b>prodversionmin='3.0.193.0'</b>/> | 131 <updatecheck codebase='http://myhost.com/mytestextens
ion/mte_v2.crx' version='2.0' <b>prodversionmin='3.0.193.0'</b>/> |
132 </app> | 132 </app> |
133 </gupdate> | 133 </gupdate> |
134 </pre> | 134 </pre> |
135 | 135 |
136 <p>This would ensure that users of this extension would autoupdate to version 2
only if they are running Google Chrome 3.0.193.0 or greater.</p> | 136 <p>This would ensure that users of this extension would autoupdate to version 2
only if they are running Google Chrome 3.0.193.0 or greater.</p> |
137 | 137 |
OLD | NEW |