summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static/tabs.html
blob: 3b9f896b0345a8460f4ef2147a12c48ce1af33fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div id="pageData-title" class="pageData">Tabs</div>

<!-- BEGIN AUTHORED CONTENT -->
<p id="classSummary">
Use the <code>chrome.tabs</code> module
to interact with the browser's tab system.
You can use this module to
create, modify, and rearrange tabs in the browser.
</p>

<h2 id="manifest">Manifest</h2>
<p>You must declare the "tabs" permission in your extension's manifest to use the tabs API.
For example:
</p>
<pre>{
  "name": "My extension that uses tabs",
  "version": "0.1",
<b>  "permissions": [
    "tabs"
  ]</b>
}</pre>

<!-- END AUTHORED CONTENT -->