OLD | NEW |
1 <h1 id="key">Manifest - Key</h1> | 1 <h1 id="key">Manifest - Key</h1> |
2 | 2 |
3 <p> | 3 <p> |
4 This value can be used to control | 4 This value can be used to control |
5 the unique ID of an extension, app, or theme when | 5 the unique ID of an extension, app, or theme when |
6 it is loaded during development. | 6 it is loaded during development. |
7 </p> | 7 </p> |
8 | 8 |
9 <p class="note"> | 9 <p class="note"> |
10 <b>Note:</b> You don't usually need to | 10 <b>Note:</b> You don't usually need to |
11 use this value. Instead, write your | 11 use this value. Instead, write your |
12 code so that the key value doesn't matter | 12 code so that the key value doesn't matter |
13 by using <a href="http://developer.chrome.com/extensions/overview.html#relative-
urls">relative paths</a> | 13 by using <a href="http://developer.chrome.com/extensions/overview#relative-urls"
>relative paths</a> |
14 and <a href="http://developer.chrome.com/extensions/extension.html#method-getURL
">extension.getURL</a>. | 14 and <a href="http://developer.chrome.com/extensions/extension#method-getURL">ext
ension.getURL</a>. |
15 </p> | 15 </p> |
16 | 16 |
17 <p> | 17 <p> |
18 To get a suitable key value, first | 18 To get a suitable key value, first |
19 install your extension from a <code>.crx</code> file | 19 install your extension from a <code>.crx</code> file |
20 (you may need to | 20 (you may need to |
21 <a href="https://chrome.google.com/webstore/developer/dashboard">upload your ext
ension</a> | 21 <a href="https://chrome.google.com/webstore/developer/dashboard">upload your ext
ension</a> |
22 or <a href="http://developer.chrome.com/extensions/packaging.html">package it ma
nually</a>). | 22 or <a href="http://developer.chrome.com/extensions/packaging">package it manuall
y</a>). |
23 Then, in your | 23 Then, in your |
24 <a href="http://www.chromium.org/user-experience/user-data-directory">user | 24 <a href="http://www.chromium.org/user-experience/user-data-directory">user |
25 data directory</a>, look in the file | 25 data directory</a>, look in the file |
26 <code>Default/Extensions/<em><extensionId></em>/<em><versionString><
/em>/manifest.json</code>. | 26 <code>Default/Extensions/<em><extensionId></em>/<em><versionString><
/em>/manifest.json</code>. |
27 You will see the key value filled in there. | 27 You will see the key value filled in there. |
28 </p> | 28 </p> |
OLD | NEW |