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