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