OLD | NEW |
1 <!-- BEGIN AUTHORED CONTENT --> | 1 <!-- BEGIN AUTHORED CONTENT --> |
2 <h2 id="manifest">Notes</h2> | 2 <h2 id="manifest">Notes</h2> |
3 <p> | 3 <p> |
4 The top sites module allows access to the top sites that are displayed on | 4 The top sites module allows access to the top sites that are displayed on |
5 the new tab page. | 5 the new tab page. |
6 </p> | 6 </p> |
7 <h2 id="manifest">Manifest</h2> | 7 <h2 id="manifest">Manifest</h2> |
8 <p> | 8 <p> |
9 You must declare the "topSites" permission in your extension's manifest | 9 You must declare the "topSites" permission in your extension's manifest |
10 to use this API. | 10 to use this API. |
11 </p> | 11 </p> |
12 <pre>{ | 12 <pre>{ |
13 "name": "My extension", | 13 "name": "My extension", |
14 ... | 14 ... |
15 <b> "permissions": [ | 15 <b> "permissions": [ |
16 "topSites", | 16 "topSites", |
17 ]</b>, | 17 ]</b>, |
18 ... | 18 ... |
19 }</pre> | 19 }</pre> |
20 <h2 id="examples">Examples</h2> | 20 <h2 id="examples">Examples</h2> |
21 <p> | 21 <p> |
22 You can find samples of this API in | 22 You can find samples of this API in |
23 <a href="samples.html#topsites">Samples</a>. | 23 <a href="samples.html#topsites">Samples</a>. |
24 </p> | 24 </p> |
25 <!-- END AUTHORED CONTENT --> | 25 <!-- END AUTHORED CONTENT --> |
OLD | NEW |