1 <h2 id=
"manifest">Manifest
</h2>
4 You can use most
<code>chrome.tabs
</code> methods and events without declaring
5 any permissions in the extension's
<a href=
"manifest.html">manifest
</a> file.
6 However, if you require access to the
7 <code>$ref:[tabs.Tab.url url]
</code>,
8 <code>$ref:[tabs.Tab.title title]
</code>, or
9 <code>$ref:[tabs.Tab.favIconUrl favIconUrl]
</code> properties of
10 <code>$ref:tabs.Tab
</code>,
11 you must declare the
<code>"tabs"</code> permission in the manifest,
15 <pre data-filename=
"manifest.json">
17 "name":
"My extension",
26 <h2 id=
"examples"> Examples
</h2>
29 <img src=
"{{static}}/images/tabs.png"
30 width=
"561" height=
"130" alt=
"Two tabs in a window" />
32 You can find simple examples of manipulating tabs with the
33 <code>chrome.tabs
</code> API in the
34 <a href=
"http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/">examples/api/tabs
</a>
36 For other examples and for help in viewing the source code, see
37 <a href=
"samples.html">Samples
</a>.