OLD | NEW |
1 <h2 id="manifest">Manifest</h2> | 1 <h2 id="manifest">Manifest</h2> |
2 | 2 |
3 <p> | 3 <p> |
4 You must declare the "topSites" permission in your extension's manifest | 4 You must declare the "topSites" permission in your extension's manifest |
5 to use this API. | 5 to use this API. |
6 </p> | 6 </p> |
7 | 7 |
8 <pre data-filename="manifest.json"> | 8 <pre data-filename="manifest.json"> |
9 { | 9 { |
10 "name": "My extension", | 10 "name": "My extension", |
11 ... | 11 ... |
12 <b> "permissions": [ | 12 <b> "permissions": [ |
13 "topSites", | 13 "topSites", |
14 ]</b>, | 14 ]</b>, |
15 ... | 15 ... |
16 } | 16 } |
17 </pre> | 17 </pre> |
18 | 18 |
19 | 19 |
20 <h2 id="examples">Examples</h2> | 20 <h2 id="examples">Examples</h2> |
21 | 21 |
22 <p> | 22 <p> |
23 You can find samples of this API in | 23 You can find samples of this API in |
24 <a href="samples#topsites">Samples</a>. | 24 <a href="samples#search:topsites">Samples</a>. |
25 </p> | 25 </p> |
OLD | NEW |