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