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