OLD | NEW |
1 <h2 id="manifest">Manifest</h2> | 1 <h2 id="manifest">Manifest</h2> |
2 | 2 |
3 <p> | 3 <p> |
4 You can use most <code>chrome.tabs</code> methods and events without declaring | 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. | 5 any permissions in the extension's <a href="manifest">manifest</a> file. |
6 However, if you require access to the | 6 However, if you require access to the |
7 <code>$(ref:tabs.Tab.url url)</code>, | 7 <code>$(ref:tabs.Tab.url url)</code>, |
8 <code>$(ref:tabs.Tab.title title)</code>, or | 8 <code>$(ref:tabs.Tab.title title)</code>, or |
9 <code>$(ref:tabs.Tab.favIconUrl favIconUrl)</code> properties of | 9 <code>$(ref:tabs.Tab.favIconUrl favIconUrl)</code> properties of |
10 <code>$(ref:tabs.Tab)</code>, | 10 <code>$(ref:tabs.Tab)</code>, |
11 you must declare the <code>"tabs"</code> permission in the manifest, | 11 you must declare the <code>"tabs"</code> permission in the manifest, |
12 as shown below: | 12 as shown below: |
13 </p> | 13 </p> |
14 | 14 |
15 <pre data-filename="manifest.json"> | 15 <pre data-filename="manifest.json"> |
(...skipping 11 matching lines...) Expand all Loading... |
27 | 27 |
28 <p> | 28 <p> |
29 <img src="{{static}}/images/tabs.png" | 29 <img src="{{static}}/images/tabs.png" |
30 width="561" height="130" alt="Two tabs in a window" /> | 30 width="561" height="130" alt="Two tabs in a window" /> |
31 <br> | 31 <br> |
32 You can find simple examples of manipulating tabs with the | 32 You can find simple examples of manipulating tabs with the |
33 <code>chrome.tabs</code> API in the | 33 <code>chrome.tabs</code> API in the |
34 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/">examples/api/tabs</a> | 34 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/tabs/">examples/api/tabs</a> |
35 directory. | 35 directory. |
36 For other examples and for help in viewing the source code, see | 36 For other examples and for help in viewing the source code, see |
37 <a href="samples.html">Samples</a>. | 37 <a href="samples">Samples</a>. |
38 </p> | 38 </p> |
OLD | NEW |