OLD | NEW |
1 <table class="intro"> | 1 <table class="intro"> |
2 <tr> | 2 <tr> |
3 <th scope="col"></th> | 3 <th scope="col"></th> |
4 <th scope="col"></th> | 4 <th scope="col"></th> |
5 </tr> | 5 </tr> |
6 <tr> | 6 <tr> |
7 <td><strong>Description:</strong></td> | |
8 <td>Use the <code>chrome.contextMenus</code> module | |
9 to add items to Google Chrome's context menu. | |
10 You can choose what types of objects | |
11 your context menu additions apply to, | |
12 such as images, hyperlinks, and pages. | |
13 </td> | |
14 </tr> | |
15 <tr> | |
16 <td><strong>Availability:</strong></td> | |
17 <td>Google Chrome 6</td> | |
18 </tr> | |
19 <tr> | |
20 <td><strong>Permissions:</strong></td> | 7 <td><strong>Permissions:</strong></td> |
21 <td><code>"contextMenus"</code></td> | 8 <td><code>"contextMenus"</code></td> |
22 </tr> | 9 </tr> |
23 </table> | 10 </table> |
24 | 11 |
25 <h2 id="usage">Usage</h2> | 12 <h2 id="usage">Usage</h2> |
26 | 13 |
27 <p> | 14 <p> |
28 Context menu items can appear in any document | 15 Context menu items can appear in any document |
29 (or frame within a document), | 16 (or frame within a document), |
(...skipping 30 matching lines...) Expand all Loading... |
60 "48": "icon-small.png", | 47 "48": "icon-small.png", |
61 "128": "icon-large.png" | 48 "128": "icon-large.png" |
62 }, | 49 }, |
63 ... | 50 ... |
64 }</pre> | 51 }</pre> |
65 | 52 |
66 <h2 id="examples">Examples</h2> | 53 <h2 id="examples">Examples</h2> |
67 | 54 |
68 <p> | 55 <p> |
69 You can find samples of this API on the | 56 You can find samples of this API on the |
70 <a href="samples.html#contextMenus">sample page</a>. | 57 <a href="samples.html#contextMenus">sample page</a>. |
OLD | NEW |