OLD | NEW |
1 <p id="classSummary"> | |
2 The <code>chrome.management</code> module provides ways to manage the list of ex
tensions/apps that are installed and running. It is particularly useful for exte
nsions that <a href="override.html">override</a> the built-in New Tab page. | |
3 </p> | |
4 | |
5 <h2 id="manifest">Manifest</h2> | 1 <h2 id="manifest">Manifest</h2> |
6 | 2 |
7 <p>You must declare the "management" permission | 3 <p>You must declare the "management" permission |
8 in the <a href="manifest.html">extension manifest</a> | 4 in the <a href="manifest.html">extension manifest</a> |
9 to use the management API. | 5 to use the management API. |
10 For example:</p> | 6 For example:</p> |
11 <pre>{ | 7 <pre>{ |
12 "name": "My extension", | 8 "name": "My extension", |
13 ... | 9 ... |
14 <b>"permissions": [ | 10 <b>"permissions": [ |
15 "management" | 11 "management" |
16 ]</b>, | 12 ]</b>, |
17 ... | 13 ... |
18 }</pre> | 14 }</pre> |
19 | 15 |
20 <p> | 16 <p> |
21 $ref:management.getPermissionWarningsByManifest and | 17 $ref:management.getPermissionWarningsByManifest and |
22 $ref:management.uninstallSelf do not require the management permission | 18 $ref:management.uninstallSelf do not require the management permission |
23 </p> | 19 </p> |
OLD | NEW |