OLD | NEW |
1 <div id="pageData-title" class="pageData">Tabs</div> | 1 <div id="pageData-name" class="pageData">Tabs</div> |
2 | 2 |
3 <!-- BEGIN AUTHORED CONTENT --> | 3 <!-- BEGIN AUTHORED CONTENT --> |
4 <p id="classSummary"> | 4 <p id="classSummary"> |
5 Use the <code>chrome.tabs</code> module | 5 Use the <code>chrome.tabs</code> module |
6 to interact with the browser's tab system. | 6 to interact with the browser's tab system. |
7 You can use this module to | 7 You can use this module to |
8 create, modify, and rearrange tabs in the browser. | 8 create, modify, and rearrange tabs in the browser. |
9 </p> | 9 </p> |
10 | 10 |
11 <img src="images/tabs.png" | 11 <img src="images/tabs.png" |
12 width="323" height="50" alt="Two tabs in a window" /> | 12 width="323" height="50" alt="Two tabs in a window" /> |
13 | 13 |
14 <h2 id="manifest">Manifest</h2> | 14 <h2 id="manifest">Manifest</h2> |
15 <p>You must declare the "tabs" permission in your extension's manifest to use th
e tabs API. | 15 <p>You must declare the "tabs" permission in your extension's manifest to use th
e tabs API. |
16 For example: | 16 For example: |
17 </p> | 17 </p> |
18 <pre>{ | 18 <pre>{ |
19 "name": "My extension that uses tabs", | 19 "name": "My extension that uses tabs", |
20 "version": "0.1", | 20 "version": "0.1", |
21 <b> "permissions": [ | 21 <b> "permissions": [ |
22 "tabs" | 22 "tabs" |
23 ]</b> | 23 ]</b> |
24 }</pre> | 24 }</pre> |
25 | 25 |
26 <!-- END AUTHORED CONTENT --> | 26 <!-- END AUTHORED CONTENT --> |
OLD | NEW |