OLD | NEW |
1 <!-- BEGIN AUTHORED CONTENT --> | 1 <!-- BEGIN AUTHORED CONTENT --> |
2 <p id="classSummary"> | 2 <p id="classSummary"> |
3 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 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. |
4 </p> | 4 </p> |
5 <h2 id="manifest">Manifest</h2> | 5 <h2 id="manifest">Manifest</h2> |
6 <p>You must declare the "management" permission | 6 <p>You must declare the "management" permission |
7 in the <a href="manifest.html">extension manifest</a> | 7 in the <a href="manifest.html">extension manifest</a> |
8 to use the management API. | 8 to use the management API. |
9 For example:</p> | 9 For example:</p> |
10 <pre>{ | 10 <pre>{ |
11 "name": "My extension", | 11 "name": "My extension", |
12 ... | 12 ... |
13 <b>"permissions": [ | 13 <b>"permissions": [ |
14 "management" | 14 "management" |
15 ]</b>, | 15 ]</b>, |
16 ... | 16 ... |
17 }</pre> | 17 }</pre> |
18 <p> | 18 <p> |
19 The one method that doesn't require the "management" permission is | 19 The one method that doesn't require the "management" permission is |
20 <a href="#method-getPermissionWarningsByManifest"><code>getPermissionWarningsByM
anifest</code></a> | 20 <a href="#method-getPermissionWarningsByManifest"><code>getPermissionWarningsByM
anifest</code></a> |
21 </p> | 21 </p> |
22 <!-- END AUTHORED CONTENT --> | 22 <!-- END AUTHORED CONTENT --> |
OLD | NEW |