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