summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static/topSites.html
blob: 696ace69d8eb76f027074af434280321d9d33ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!-- BEGIN AUTHORED CONTENT -->

<h2 id="manifest">Notes</h2>

<p>
The top sites module allows access to the top sites that are displayed on
the new tab page.
</p>

<h2 id="manifest">Manifest</h2>

<p>
You must declare the "topSites" permission in your extension's manifest
to use this API.
</p>

<pre>{
  "name": "My extension",
  ...
<b>  "permissions": [
    "topSites",
  ]</b>,
  ...
}</pre>


<h2 id="examples">Examples</h2>

<p>
You can find samples of this API in
<a href="samples.html#topsites">Samples</a>.
</p>

<!-- END AUTHORED CONTENT -->