OLD | NEW |
---|---|
1 <h1>What's New in Extensions?</h1> | 1 <h1>What's New in Extensions?</h1> |
2 <!-- --> | 2 <!-- --> |
3 | 3 |
4 <p> | 4 <p> |
5 This page lists the API and manifest changes | 5 This page lists the API and manifest changes |
6 made in recent releases. | 6 made in recent releases. |
7 </p> | 7 </p> |
8 | 8 |
9 <h2 id="22"> Google Chrome 22 </h2> | 9 <h2 id="22"> Google Chrome 22 </h2> |
10 | 10 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
155 <h2 id="18"> Google Chrome 18 </h2> | 155 <h2 id="18"> Google Chrome 18 </h2> |
156 | 156 |
157 <h4> New APIs </h4> | 157 <h4> New APIs </h4> |
158 <ul> | 158 <ul> |
159 <li>The <a href="debugger.html">debugger API</a> | 159 <li>The <a href="debugger.html">debugger API</a> |
160 lets you use the Chrome Developer Tools | 160 lets you use the Chrome Developer Tools |
161 on one or more tabs remotely. | 161 on one or more tabs remotely. |
162 <li>The <a href="devtools.html">developer tools APIs</a> | 162 <li>The <a href="devtools.html">developer tools APIs</a> |
163 provide support for extending Chrome Developer Tools. | 163 provide support for extending Chrome Developer Tools. |
164 The inspected window API lets you interact with the inspected window. | 164 The inspected window API lets you interact with the inspected window. |
165 The network API lets you retrive information about network requests. | 165 The network API lets you retrieve information about network requests. |
166 The panels API lets you add panels and sidebars. | 166 The panels API lets you add panels and sidebars. |
167 <li>The <a href="pageCapture.html">page capture API</a> | 167 <li>The <a href="pageCapture.html">page capture API</a> |
168 lets you save a tab as MHTML. | 168 lets you save a tab as MHTML. |
169 <li> The <a href="privacy.html">privacy API</a> | 169 <li> The <a href="privacy.html">privacy API</a> |
170 lets you control usage of the features | 170 lets you control usage of the features |
171 in Chrome that can affect a user's privacy policy. | 171 in Chrome that can affect a user's privacy policy. |
172 </ul> | 172 </ul> |
173 | 173 |
174 <h4> Manifest changes </h4> | 174 <h4> Manifest changes </h4> |
175 <ul> | 175 <ul> |
(...skipping 13 matching lines...) Expand all Loading... | |
189 <a href="background_pages.html">background.scripts</a> property | 189 <a href="background_pages.html">background.scripts</a> property |
190 and Chrome will generate a background page for you. | 190 and Chrome will generate a background page for you. |
191 <li>The new | 191 <li>The new |
192 <a href="manifest.html#web_accessible_resources">web_accessible_resources< /a> | 192 <a href="manifest.html#web_accessible_resources">web_accessible_resources< /a> |
193 field specifies the paths of packaged resources | 193 field specifies the paths of packaged resources |
194 that are expected to be usable in the context of a web page. | 194 that are expected to be usable in the context of a web page. |
195 </ul> | 195 </ul> |
196 | 196 |
197 <h4> Additions to existing APIs </h4> | 197 <h4> Additions to existing APIs </h4> |
198 <ul> | 198 <ul> |
199 <li>The $ref:windows.WINDOW_ID_CURRENT | 199 <li>The $ref:[windows windows API] |
200 now has a <code>WINDOW_ID_CURRENT</code> property. | 200 now has a <code>WINDOW_ID_CURRENT</code> property. |
not at google - send to devlin
2013/02/11 14:06:46
Could $ref:windows.WINDOW_ID_CURRENT directly but
方觉(Fang Jue)
2013/02/12 03:27:14
Then delete it.
| |
201 <li>The <code>chrome.tabs</code> | 201 <li>The <code>chrome.tabs</code> |
202 $ref:tabs.create and | 202 $ref:tabs.create and |
203 $ref:tabs.update methods | 203 $ref:tabs.update methods |
204 now have an <code>openerTabId</code> parameter. | 204 now have an <code>openerTabId</code> parameter. |
205 </ul> | 205 </ul> |
206 | 206 |
207 <h2 id="17"> Google Chrome 17 </h2> | 207 <h2 id="17"> Google Chrome 17 </h2> |
208 | 208 |
209 <h4> New APIs </h4> | 209 <h4> New APIs </h4> |
210 <ul> | 210 <ul> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
294 To get details about all tabs in the specified window, use | 294 To get details about all tabs in the specified window, use |
295 $ref:tabs.query | 295 $ref:tabs.query |
296 with the argument <code>{'windowId': windowID}</code>. | 296 with the argument <code>{'windowId': windowID}</code>. |
297 To get the tab that is selected in the specified window, use | 297 To get the tab that is selected in the specified window, use |
298 <code>chrome.tabs.query()</code> | 298 <code>chrome.tabs.query()</code> |
299 with the argument <code>{'active': true}</code>. | 299 with the argument <code>{'active': true}</code>. |
300 <li>You are no longer required | 300 <li>You are no longer required |
301 to specify the <code>tabID</code> for the | 301 to specify the <code>tabID</code> for the |
302 $ref:tabs.update method. | 302 $ref:tabs.update method. |
303 When not provided, | 303 When not provided, |
304 the <code>tabID</code> defaults | 304 the <code>tabId</code> defaults |
305 to the selected tab of the current window. | 305 to the selected tab of the current window. |
306 <li>External extension files on Mac OS can now be owned by users | 306 <li>External extension files on Mac OS can now be owned by users |
307 within a wheel group (or an admin group). | 307 within a wheel group (or an admin group). |
308 <li>The "experimental" permission is no longer required | 308 <li>The "experimental" permission is no longer required |
309 for the | 309 for the |
310 $ref:windows.Window type. | 310 $ref:[windows.Window "panel"] type. |
311 By default, the "panel" type creates a popup | 311 By default, the "panel" type creates a popup |
312 unless the <code>--enable-panels</code> flag is set. | 312 unless the <code>--enable-panels</code> flag is set. |
313 </ul> | 313 </ul> |
314 | 314 |
315 <h2 id="15"> Google Chrome 15 </h2> | 315 <h2 id="15"> Google Chrome 15 </h2> |
316 | 316 |
317 <h4> New APIs </h4> | 317 <h4> New APIs </h4> |
318 | 318 |
319 <ul> | 319 <ul> |
320 <li>The <a href="webstore.html">webstore API</a> | 320 <li>The <a href="webstore.html">webstore API</a> |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
419 </ul> | 419 </ul> |
420 | 420 |
421 <h4> Manifest changes </h4> | 421 <h4> Manifest changes </h4> |
422 <ul> | 422 <ul> |
423 <li>A new <code>exclude_matches</code> item | 423 <li>A new <code>exclude_matches</code> item |
424 in the "content_scripts" field | 424 in the "content_scripts" field |
425 lets you target your content script more precisely. | 425 lets you target your content script more precisely. |
426 For details, see | 426 For details, see |
427 <a href="content_scripts.html#match-patterns-globs">Match patterns and glo bs</a>. | 427 <a href="content_scripts.html#match-patterns-globs">Match patterns and glo bs</a>. |
428 <li>New "clipboardRead" and "clipboardWrite" | 428 <li>New "clipboardRead" and "clipboardWrite" |
429 <a href="manifest.html#permissions">permissions</a> | 429 <a href="declare_permissions.html">permissions</a> |
430 specify capabilities for <code>document.execCommand()</code>. | 430 specify capabilities for <code>document.execCommand()</code>. |
431 </ul> | 431 </ul> |
432 | 432 |
433 <h4> Additions to existing APIs </h4> | 433 <h4> Additions to existing APIs </h4> |
434 <ul> | 434 <ul> |
435 <li>Content scripts can now make | 435 <li>Content scripts can now make |
436 <a href="xhr.html">cross-origin XMLHttpRequests</a> | 436 <a href="xhr.html">cross-origin XMLHttpRequests</a> |
437 to the same sites that their parent extension can, | 437 to the same sites that their parent extension can, |
438 eliminating the need to relay these requests | 438 eliminating the need to relay these requests |
439 through a background page. | 439 through a background page. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
475 </ul> | 475 </ul> |
476 | 476 |
477 <h2 id="11"> Google Chrome 11 </h2> | 477 <h2 id="11"> Google Chrome 11 </h2> |
478 | 478 |
479 <h4> Changes to existing APIs </h4> | 479 <h4> Changes to existing APIs </h4> |
480 <ul> | 480 <ul> |
481 <li>For security reasons, you can no longer call | 481 <li>For security reasons, you can no longer call |
482 $ref:tabs.captureVisibleTab | 482 $ref:tabs.captureVisibleTab |
483 on just any tab. | 483 on just any tab. |
484 Instead, you now must have | 484 Instead, you now must have |
485 <a href="manifest.html#permissions">host permission</a> | 485 <a href="declare_permissions.html">host permission</a> |
486 for the URL displayed by that tab. | 486 for the URL displayed by that tab. |
487 To get the previous behavior, | 487 To get the previous behavior, |
488 specify <code><all_urls></code> for the host permission. | 488 specify <code><all_urls></code> for the host permission. |
489 </ul> | 489 </ul> |
490 | 490 |
491 <h4> Additions to existing APIs </h4> | 491 <h4> Additions to existing APIs </h4> |
492 <ul> | 492 <ul> |
493 <li>The management API's | 493 <li>The management API's |
494 $ref:management.ExtensionInfo object | 494 $ref:management.ExtensionInfo object |
495 now has a <code>homepageUrl</code> property. | 495 now has a <code>homepageUrl</code> property. |
496 <li>The management API now lets you get the icons of | 496 <li>The management API now lets you get the icons of |
497 disabled apps and extensions. | 497 disabled apps and extensions. |
498 Also, you can now modify the regular icon's URL | 498 Also, you can now modify the regular icon's URL |
499 to get its disabled equivalent. | 499 to get its disabled equivalent. |
500 See $ref:management.IconInfo for details. | 500 See $ref:management.IconInfo for details. |
501 <li>The cookies API | 501 <li>The cookies API |
502 $ref:cookies.set | 502 $ref:cookies.set |
503 and $ref:cookies.remove methods | 503 and $ref:cookies.remove methods |
504 can now take callbacks. | 504 can now take callbacks. |
505 </ul> | 505 </ul> |
506 | 506 |
507 <h2 id="10"> Google Chrome 10 </h2> | 507 <h2 id="10"> Google Chrome 10 </h2> |
508 | 508 |
509 <h4> Manifest changes </h4> | 509 <h4> Manifest changes </h4> |
510 <ul> | 510 <ul> |
511 <li>The new <a href="manifest.html#bg">background</a> permission | 511 <li>The new <a href="declare_permissions.html#bg">background</a> permission |
512 extends the life of Chrome, | 512 extends the life of Chrome, |
513 allowing your extension or app | 513 allowing your extension or app |
514 to run even when Chrome has no windows open. | 514 to run even when Chrome has no windows open. |
515 </ul> | 515 </ul> |
516 | 516 |
517 <h4> Additions to existing APIs </h4> | 517 <h4> Additions to existing APIs </h4> |
518 <ul> | 518 <ul> |
519 <li>The $ref:windows.create | 519 <li>The $ref:windows.create |
520 method now has a <code>tabId</code> field. | 520 method now has a <code>tabId</code> field. |
521 You can use it to move a tab or panel into a new window. | 521 You can use it to move a tab or panel into a new window. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
615 <h4> Manifest changes </h4> | 615 <h4> Manifest changes </h4> |
616 <ul> | 616 <ul> |
617 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 617 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
618 gives an extension access to the user's physical location. | 618 gives an extension access to the user's physical location. |
619 <li><a href="match_patterns.html">Match patterns</a> can now select all | 619 <li><a href="match_patterns.html">Match patterns</a> can now select all |
620 schemes or all URLs. | 620 schemes or all URLs. |
621 <li>Access to file:/// URLs no longer triggers the "access to your machine" | 621 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
622 security warning, but now requires user opt-in from the extensions | 622 security warning, but now requires user opt-in from the extensions |
623 management page. | 623 management page. |
624 </ul> | 624 </ul> |
OLD | NEW |