OLD | NEW |
(Empty) | |
| 1 <h1>What's New in Extensions?</h1> |
| 2 <!-- --> |
| 3 |
| 4 <p> |
| 5 This page lists the API and manifest changes |
| 6 made in recent releases. |
| 7 </p> |
| 8 |
| 9 <ul> |
| 10 <li> <a href="#20">Google Chrome 20</a> </li> |
| 11 <li> <a href="#19">Google Chrome 19</a> </li> |
| 12 <li> <a href="#18">Google Chrome 18</a> </li> |
| 13 <li> <a href="#17">Google Chrome 17</a> </li> |
| 14 <li> <a href="#16">Google Chrome 16</a> </li> |
| 15 <li> <a href="#15">Google Chrome 15</a> </li> |
| 16 <li> <a href="#14">Google Chrome 14</a> </li> |
| 17 <li> <a href="#13">Google Chrome 13</a> </li> |
| 18 <li> <a href="#12">Google Chrome 12</a> </li> |
| 19 <li> <a href="#11">Google Chrome 11</a> </li> |
| 20 <li> <a href="#10">Google Chrome 10</a> </li> |
| 21 <li> <a href="#9">Google Chrome 9</a> </li> |
| 22 <li> <a href="#8">Google Chrome 8</a> </li> |
| 23 <li> <a href="#7">Google Chrome 7</a> </li> |
| 24 <li> <a href="#6">Google Chrome 6</a> </li> |
| 25 </ul> |
| 26 |
| 27 <p class="note"> |
| 28 <strong>New version of packaged apps:</strong><br> |
| 29 There's a new version of |
| 30 <a href="http://developer.chrome.com/trunk/apps/about_apps.html">packaged apps
</a> |
| 31 in the <a href="http://dev.chromium.org/getting-involved/dev-channel?">dev cha
nnel</a>. |
| 32 </p> |
| 33 |
| 34 <p> |
| 35 In addition to the changes listed below, |
| 36 check out the |
| 37 <a href="experimental.html">experimental APIs</a>. |
| 38 </p> |
| 39 |
| 40 <h2 id="20"> Google Chrome 20 </h2> |
| 41 |
| 42 <h4> New APIs </h4> |
| 43 <ul> |
| 44 <li>The |
| 45 <a href="storage.html">storage API</a> |
| 46 lets you store, retrieve, and |
| 47 track changes to user data.</li> |
| 48 </ul> |
| 49 |
| 50 <h4> Manifest changes </h4> |
| 51 <ul> |
| 52 <li>Manifest version 1 was deprecated in Chrome 18 |
| 53 and will be phased out according to the |
| 54 <a href="manifestVersion.html">Manifest version 1 support schedule</a>.</l
i> |
| 55 </ul> |
| 56 |
| 57 <h4> Additions to existing APIs </h4> |
| 58 <ul> |
| 59 <li>The <code>chrome.contextMenus</code> |
| 60 <a href="contextMenus.html#method-create">create()</a> and |
| 61 <a href="contextMenus.html#method-update">update()</a> |
| 62 methods now have an <code>enabled</code> parameter.</li> |
| 63 <li>The privacy API's <a href="privacy.html#property-services">services</a>
object |
| 64 now has a <code>spellingServiceEnabled</code> setting.</li> |
| 65 <li>The <code>chrome.tabs</code> |
| 66 <a href="tabs.html#method-executeScript">executeScript()</a> and |
| 67 <a href="tabs.html#method-insertCSS">insertCSS()</a> |
| 68 now accept a <code>runAt</code> parameter.</li> |
| 69 </ul> |
| 70 |
| 71 <h4> Changes to existing APIs </h4> |
| 72 |
| 73 <ul> |
| 74 <li>The <code>sendRequest()</code> method |
| 75 has been deprecated in favor of the |
| 76 <code>sendMessage()</code> method for both the |
| 77 <a href="extension.html#method-sendMessage">extension API</a> and |
| 78 <a href="tabs.html#method-sendMessage">tabs API</a>.</li> |
| 79 <li>The <a href="external_extensions.html">external_extensions.json file</a> |
| 80 has been deprecated in favor of individual |
| 81 <code><extension-id>.json</code> files.</li> |
| 82 </ul> |
| 83 |
| 84 <h2 id="19"> Google Chrome 19 </h2> |
| 85 |
| 86 <h4> New APIs </h4> |
| 87 <ul> |
| 88 <li>The <a href="browsingData.html">browsing data API</a> |
| 89 lets you remove browsing data from a user's local profile. |
| 90 <li>The <a href="topSites.html">top sites API</a> |
| 91 gives you access to the top sites |
| 92 that are displayed on the new tab page. |
| 93 </ul> |
| 94 |
| 95 <h4> Manifest changes </h4> |
| 96 <ul> |
| 97 <li>The new <a href="manifest.html#intents">intents</a> |
| 98 field specifies all intent handlers provided by the extension. |
| 99 </ul> |
| 100 |
| 101 <h4> Additions to existing APIs </h4> |
| 102 <ul> |
| 103 <li>The window API's <a href="windows.html#type-windows.Window">Window</a> |
| 104 object now has an <code>alwaysOnTop</code> property and |
| 105 supports the "fullscreen" state. |
| 106 <li>The <code>chrome.tabs</code> |
| 107 <a href="tabs.html#method-query">query()</a> method |
| 108 now has the <code>currentWindow</code> and |
| 109 <code>lastFocusedWindow</code> parameters. |
| 110 <li>The <a href="browserAction.html">browser action API</a> |
| 111 has the following new getter functions: |
| 112 <a href="browserAction.html#method-getTitle">getTitle</a>, |
| 113 <a href="browserAction.html#method-getBadgeText">getBadgeText</a>, |
| 114 <a href="browserAction.html#method-getBadgeBackgroundColor">getBadgeBackg
r |
| 115 oundColor</a>, and |
| 116 <a href="browserAction.html#method-getPopup">getPopup</a>. |
| 117 <li>The <a href="pageAction.html">page action API</a> |
| 118 has the following new getter functions: |
| 119 <a href="pageAction.html#method-getTitle">getTitle</a> and |
| 120 <a href="pageAction.html#method-getPopup">getPopup</a>. |
| 121 </ul> |
| 122 |
| 123 <h2 id="18"> Google Chrome 18 </h2> |
| 124 |
| 125 <h4> New APIs </h4> |
| 126 <ul> |
| 127 <li>The <a href="debugger.html">debugger API</a> |
| 128 lets you use the Chrome Developer Tools |
| 129 on one or more tabs remotely. |
| 130 <li>The <a href="devtools.html">developer tools APIs</a> |
| 131 provide support for extending Chrome Developer Tools. |
| 132 The inspected window API lets you interact with the inspected window. |
| 133 The network API lets you retrive information about network requests. |
| 134 The panels API lets you add panels and sidebars. |
| 135 <li>The <a href="input.ime.html">input method editor API</a> |
| 136 lets you add custom input methods |
| 137 such as complex language characters |
| 138 directly to the system's input device. |
| 139 <li>The <a href="pageCapture.html">page capture API</a> |
| 140 lets you save a tab as MHTML. |
| 141 <li> The <a href="privacy.html">privacy API</a> |
| 142 lets you control usage of the features |
| 143 in Chrome that can affect a user's privacy policy. |
| 144 </ul> |
| 145 |
| 146 <h4> Manifest changes </h4> |
| 147 <ul> |
| 148 <li>The new |
| 149 <a href="manifest.html#manifest_version">manifest version</a> |
| 150 field specifies the version of the manifest that your package requires. |
| 151 As of Chrome 18, you should use |
| 152 <a href="manifestVersion.html">manifest version 2</a>. |
| 153 <li>The new |
| 154 <a href="contentSecurityPolicy.html">Content Security Policy (CSP)</a> |
| 155 field is used to define an extension's policies |
| 156 towards the types of content |
| 157 that can be loaded and executed by the extension. |
| 158 <li>Most background pages only include a list of script files. |
| 159 For these background pages, |
| 160 you can use the new |
| 161 <a href="background_pages.html">background.scripts</a> property |
| 162 and Chrome will generate a background page for you. |
| 163 <li>The new |
| 164 <a href="manifest.html#web_accessible_resources">web_accessible_resources<
/a> |
| 165 field specifies the paths of packaged resources |
| 166 that are expected to be usable in the context of a web page. |
| 167 </ul> |
| 168 |
| 169 <h4> Additions to existing APIs </h4> |
| 170 <ul> |
| 171 <li>The <a href="windows.html#property-WINDOW_ID_CURRENT">windows API</a> |
| 172 now has a <code>WINDOW_ID_CURRENT</code> property. |
| 173 <li>The <code>chrome.tabs</code> |
| 174 <a href="tabs.html#method-create">create()</a> and |
| 175 <a href="tabs.html#method-update">update()</a> methods |
| 176 now have an <code>openerTabId</code> parameter. |
| 177 </ul> |
| 178 |
| 179 <h2 id="17"> Google Chrome 17 </h2> |
| 180 |
| 181 <h4> New APIs </h4> |
| 182 <ul> |
| 183 <li>The |
| 184 <a href="webRequest.html">web request API</a> |
| 185 lets you intercept, block, or |
| 186 modify requests in-flight and |
| 187 to observe and analyze traffic. |
| 188 </ul> |
| 189 |
| 190 <h4> Manifest changes </h4> |
| 191 <ul> |
| 192 <li>Permissions can be |
| 193 <a href="permissions.html">optional</a> |
| 194 for the content setting API, the web navigation API, and |
| 195 the new web request API. |
| 196 </ul> |
| 197 |
| 198 <h4> Additions to existing APIs </h4> |
| 199 <ul> |
| 200 <li>The management API's |
| 201 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a> ob
ject |
| 202 now has a <code>disabledReason</code> property. |
| 203 </ul> |
| 204 |
| 205 <h4> Changes to existing APIs </h4> |
| 206 |
| 207 <ul> |
| 208 <li>The <a href="omnibox.html">omnibox API</a> |
| 209 now works in |
| 210 <a href="manifest.html#incognito">split incognito mode</a>. |
| 211 </ul> |
| 212 |
| 213 <h2 id="16"> Google Chrome 16 </h2> |
| 214 |
| 215 <h4> New APIs </h4> |
| 216 <ul> |
| 217 <li>The |
| 218 <a href="webNavigation.html">web navigation API</a> |
| 219 lets extensions receive notifications about the status |
| 220 of navigation requests. |
| 221 You can use this API to track navigation events. |
| 222 <li>The |
| 223 <a href="permissions.html">optional permissions API</a> |
| 224 lets you control when users are presented with permission requests. |
| 225 <li>The |
| 226 <a href="contentSettings.html">content settings API</a> |
| 227 lets extensions customize Chrome’s behavior |
| 228 on a per-site basis instead of globally. |
| 229 You can use this API to control whether websites can use features |
| 230 such as cookies, JavaScript, and plug-ins. |
| 231 </ul> |
| 232 |
| 233 <h4> Manifest changes </h4> |
| 234 <ul> |
| 235 <li>The new |
| 236 <a href="manifest.html#requirements">requirements</a> field |
| 237 allows you to declare extension requirements up front. |
| 238 For example, you can use this field |
| 239 to specify that your app requires 3D graphics support |
| 240 in order to use features such as CSS 3D Tranforms or WebGL. |
| 241 </ul> |
| 242 |
| 243 <h4> Additions to existing APIs </h4> |
| 244 <ul> |
| 245 <li>The new |
| 246 <a href="tabs.html#method-query">chrome.tabs.query()</a> method |
| 247 gets all tabs that have the specified properties or |
| 248 all tabs if no properties are specified. |
| 249 <li>The new |
| 250 <a href="tabs.html#method-reload">chrome.tabs.reload()</a> method |
| 251 reloads a tab and includes the option |
| 252 to preserve the local cache of the reloaded tab. |
| 253 <li>The management API's |
| 254 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a> ob
ject |
| 255 now has an <code>updateURL</code> property. |
| 256 <li>You can now limit the supported locales for an |
| 257 <a href="external_extensions.html">external extension</a> |
| 258 by adding the <code>supported_locales</code> attribute |
| 259 to the <code>external_extensions.json</code>. |
| 260 </ul> |
| 261 |
| 262 <h4> Changes to existing APIs </h4> |
| 263 <ul> |
| 264 <li>The methods <code>getAllInWindow()</code> and |
| 265 <code>getSelected()</code> have been deprecated. |
| 266 To get details about all tabs in the specified window, use |
| 267 <a href="tabs.html#method-query">chrome.tabs.query()</a> |
| 268 with the argument <code>{'windowId': windowID}</code>. |
| 269 To get the tab that is selected in the specified window, use |
| 270 <code>chrome.tabs.query()</code> |
| 271 with the argument <code>{'active': true}</code>. |
| 272 <li>You are no longer required |
| 273 to specify the <code>tabID</code> for the |
| 274 <a href="tabs.html#method-update">chrome.tabs.update()</a> method. |
| 275 When not provided, |
| 276 the <code>tabID</code> defaults |
| 277 to the selected tab of the current window. |
| 278 <li>External extension files on Mac OS can now be owned by users |
| 279 within a wheel group (or an admin group). |
| 280 <li>The "experimental" permission is no longer required |
| 281 for the |
| 282 <a href="windows.html#type-windows.Window">window "panel"</a> type. |
| 283 By default, the "panel" type creates a popup |
| 284 unless the <code>--enable-panels</code> flag is set. |
| 285 </ul> |
| 286 |
| 287 <h2 id="15"> Google Chrome 15 </h2> |
| 288 |
| 289 <h4> New APIs </h4> |
| 290 |
| 291 <ul> |
| 292 <li>The <a href="webstore.html">webstore API</a> |
| 293 lets you initiate app and extensions installations |
| 294 <a href="http://code.google.com/chrome/webstore/docs/inline_installation.html">
"inline"</a> |
| 295 from your site. |
| 296 </ul> |
| 297 |
| 298 <h4> Manifest changes </h4> |
| 299 <ul> |
| 300 <li>The new |
| 301 <a href="manifest.html#offline_enabled">offline_enabled</a> field |
| 302 lets you specify that your app works well even without an internet |
| 303 connection. |
| 304 </ul> |
| 305 |
| 306 <h4> Additions to existing APIs </h4> |
| 307 <ul> |
| 308 <li>You can retrieve permission warnings using the new management API method
s |
| 309 <a href="management.html#method-getPermissionWarningsById">getPermissionWa
rningsById()</a> |
| 310 and |
| 311 <a href="management.html#method-getPermissionWarningsByManifest">getPermis
sionWarningsByManifest()</a>. |
| 312 <li>The management API’s |
| 313 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a>
object has |
| 314 a new field, <code>offlineEnabled</code>. |
| 315 <li>You can now <a href="i18n.html">internationalize</a> content script CSS |
| 316 files by using <code>__MSG_messagename__</code> placeholders. |
| 317 </ul> |
| 318 |
| 319 <h4> Changes to existing APIs </h4> |
| 320 <ul> |
| 321 <li>The callback for the <a href="tabs.html#method-update">tabs.update</a> |
| 322 method is passed <code>null</code> instead of the tab details if the |
| 323 extension does not have the "tabs" permission. |
| 324 </ul> |
| 325 |
| 326 <h2 id="14"> Google Chrome 14 </h2> |
| 327 |
| 328 <h4> New APIs </h4> |
| 329 <ul> |
| 330 <li>The <a href="tts.html">tts API</a> |
| 331 lets extensions generate speech from text. |
| 332 <li>The <a href="ttsEngine.html">ttsEngine API</a> |
| 333 lets extensions implement text-to-speech (TTS) engines. |
| 334 <li>Extensions that are distributed through the Chrome Web Store |
| 335 can now include Native Client modules. |
| 336 No special manifest entry is necessary, as you can see from the |
| 337 <a href="http://code.google.com/p/naclports/source/browse#svn%2Ftrunk%2Fsr
c%2Fpackages%2Flibraries%2Fnethack-3.4.3">NetHack example</a>. |
| 338 For more information, see the |
| 339 <a href="http://blog.chromium.org/2011/08/native-client-brings-sandboxed-n
ative.html">announcement</a> and the |
| 340 <a href="http://code.google.com/chrome/nativeclient/">Native Client docume
ntation</a>. |
| 341 </ul> |
| 342 |
| 343 <h4> Manifest changes </h4> |
| 344 <ul> |
| 345 <li>The new |
| 346 <a href="manifest.html#content_security_policy">content_security_policy</a
> field |
| 347 can help prevent |
| 348 <a href="http://blog.chromium.org/2011/07/writing-extensions-more-securely
.html">cross-site scripting vulnerabilities</a> |
| 349 in your extension. |
| 350 <li>The new <a href="manifest.html#nacl_modules">nacl_modules</a> field |
| 351 lets you register Native Client modules |
| 352 as content handlers for MIME types. |
| 353 </ul> |
| 354 |
| 355 <h4> Additions to existing APIs </h4> |
| 356 <ul> |
| 357 <li><a href="contextMenus.html">Context menu</a> items |
| 358 can now appear even in documents |
| 359 that have file:// or chrome:// URLs. |
| 360 Previously, they were restricted to documents with |
| 361 http:// or https:// URLs. |
| 362 <li>An optional <code>drawAttention</code> field in |
| 363 <a href="windows.html#method-update">chrome.windows.update()</a>'s |
| 364 <code>updateInfo</code> object lets you specify that the window |
| 365 should entice the user to change focus to it. |
| 366 <li>The new |
| 367 <a href="bookmarks.html#method-getSubTree">bookmarks.getSubTree()</a> |
| 368 function lets you retrieve just part of the Bookmarks hierarchy. |
| 369 </ul> |
| 370 |
| 371 <h4> Changes to existing APIs </h4> |
| 372 <ul> |
| 373 <li>The "tabs" permission is no longer required for |
| 374 <a href="tabs.html#method-remove">tabs.remove</a> and |
| 375 <a href="tabs.html#event-onRemoved">tabs.onRemoved</a>. |
| 376 </ul> |
| 377 |
| 378 <h2 id="13"> Google Chrome 13 </h2> |
| 379 |
| 380 <h4> New APIs </h4> |
| 381 <ul> |
| 382 <li>The <a href="proxy.html">proxy API</a> |
| 383 lets extensions manage Chrome's proxy settings. |
| 384 <li>The |
| 385 <a href="types.html#type-types.ChromeSetting">chrome.types.ChromeSetting</
a> prototype |
| 386 provides an interface to browser settings; |
| 387 it's used by the proxy API. |
| 388 <li> <em>Chrome OS only:</em> |
| 389 The <a href="fileBrowserHandler.html">fileBrowserHandler API</a> |
| 390 lets you extend the Chrome OS file browser. |
| 391 </ul> |
| 392 |
| 393 <h4> Manifest changes </h4> |
| 394 <ul> |
| 395 <li>A new <code>exclude_matches</code> item |
| 396 in the "content_scripts" field |
| 397 lets you target your content script more precisely. |
| 398 For details, see |
| 399 <a href="content_scripts.html#match-patterns-globs">Match patterns and glo
bs</a>. |
| 400 <li>New "clipboardRead" and "clipboardWrite" |
| 401 <a href="manifest.html#permissions">permissions</a> |
| 402 specify capabilities for <code>document.execCommand()</code>. |
| 403 </ul> |
| 404 |
| 405 <h4> Additions to existing APIs </h4> |
| 406 <ul> |
| 407 <li>Content scripts can now make |
| 408 <a href="xhr.html">cross-origin XMLHttpRequests</a> |
| 409 to the same sites that their parent extension can, |
| 410 eliminating the need to relay these requests |
| 411 through a background page. |
| 412 <li>You can now use <code>@run-at</code> |
| 413 in an imported Greasemonkey script |
| 414 to control when the script is injected. |
| 415 It works the same way as |
| 416 <a href="content_scripts.html#run_at"><code>run_at</code></a> |
| 417 in content scripts. |
| 418 </ul> |
| 419 |
| 420 <h2 id="12"> Google Chrome 12 </h2> |
| 421 |
| 422 <h4> Additions to existing APIs </h4> |
| 423 <ul> |
| 424 <li>Two new <code>chrome.extension</code> |
| 425 methods—<a href="extension.html#method-isAllowedFileSchemeAccess">is
AllowedFileSchemeAccess()</a> and |
| 426 <a href="extension.html#method-isAllowedIncognitoAccess">isAllowedIncognit
oAccess()</a>—let you |
| 427 determine whether your extension has increased access, |
| 428 which the user specifies using the extensions management page |
| 429 (<b>chrome://extensions</b>). |
| 430 <li>The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 431 method can now take a <code>focused</code> value. |
| 432 Previously, all new windows had the keyboard focus; |
| 433 now you can create windows without interrupting the user's typing. |
| 434 <li>If the manifest specifies "experimental" permission, |
| 435 your extension can specify "panel" as the value of |
| 436 the <code>type</code> field in |
| 437 the <a href="windows.html#method-create">chrome.windows.create()</a> |
| 438 method |
| 439 or the <a href="windows.html#type-windows.Window">Window</a> type. |
| 440 <li>The <a href="cookies.html#event-onChanged">onChanged</a> |
| 441 event of <code>chrome.cookies</code> |
| 442 now has a <code>cause</code> parameter. |
| 443 <li>The <code>chrome.contextMenus</code> |
| 444 <a href="contextMenus.html#method-create">create()</a> and |
| 445 <a href="contextMenus.html#method-update">update()</a> |
| 446 methods now let you specify a context value of "frame". |
| 447 </ul> |
| 448 |
| 449 <h2 id="11"> Google Chrome 11 </h2> |
| 450 |
| 451 <h4> Changes to existing APIs </h4> |
| 452 <ul> |
| 453 <li>For security reasons, you can no longer call |
| 454 <a href="tabs.html#method-captureVisibleTab">chrome.tab.captureVisibleTab(
)</a> |
| 455 on just any tab. |
| 456 Instead, you now must have |
| 457 <a href="manifest.html#permissions">host permission</a> |
| 458 for the URL displayed by that tab. |
| 459 To get the previous behavior, |
| 460 specify <code><all_urls></code> for the host permission. |
| 461 </ul> |
| 462 |
| 463 <h4> Additions to existing APIs </h4> |
| 464 <ul> |
| 465 <li>The management API's |
| 466 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a>
object |
| 467 now has a <code>homepageUrl</code> property. |
| 468 <li>The management API now lets you get the icons of |
| 469 disabled apps and extensions. |
| 470 Also, you can now modify the regular icon's URL |
| 471 to get its disabled equivalent. |
| 472 See <a href="management.html#type-management.IconInfo">IconInfo</a> for de
tails. |
| 473 <li>The cookies API |
| 474 <a href="cookies.html#method-set">set()</a> |
| 475 and <a href="cookies.html#method-remove">remove()</a> methods |
| 476 can now take callbacks. |
| 477 </ul> |
| 478 |
| 479 <h2 id="10"> Google Chrome 10 </h2> |
| 480 |
| 481 <h4> Manifest changes </h4> |
| 482 <ul> |
| 483 <li>The new <a href="manifest.html#bg">background</a> permission |
| 484 extends the life of Chrome, |
| 485 allowing your extension or app |
| 486 to run even when Chrome has no windows open. |
| 487 </ul> |
| 488 |
| 489 <h4> Additions to existing APIs </h4> |
| 490 <ul> |
| 491 <li>The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 492 method now has a <code>tabId</code> field. |
| 493 You can use it to move a tab or panel into a new window. |
| 494 <p class="note"> |
| 495 <b>Note:</b> |
| 496 This change was incorrectly attributed to Chrome 9 |
| 497 in previous release notes. |
| 498 </ul> |
| 499 |
| 500 <h2 id="9"> Google Chrome 9 </h2> |
| 501 |
| 502 <h4> New APIs </h4> |
| 503 <ul> |
| 504 <li>The <a href="omnibox.html">omnibox API</a> allows you to |
| 505 register a keyword with Chrome's address bar. |
| 506 </ul> |
| 507 |
| 508 <h4> Manifest changes </h4> |
| 509 <ul> |
| 510 <li>The <a href="manifest.html#homepage_url">homepage_url</a> field |
| 511 lets you specify the extension or app's homepage. |
| 512 </ul> |
| 513 |
| 514 <h4> Additions to existing APIs </h4> |
| 515 <ul> |
| 516 <li>The <a href="tabs.html#type-tabs.Tab">Tab</a> object |
| 517 now has a <code>pinned</code> property |
| 518 that's reflected in various <code>chrome.tabs</code> methods. |
| 519 For example, |
| 520 you can <a href="tabs.html#method-create">create</a> |
| 521 a pinned tab. |
| 522 <li>The <a href="windows.html#method-create">chrome.windows.create()</a> |
| 523 method can now take a list of URLs, |
| 524 letting you create multiple tabs in the new window. |
| 525 <li>The new |
| 526 <a href="management.html#method-get">chrome.management.get()</a> method |
| 527 lets you get information about the specified extension or app. |
| 528 </ul> |
| 529 |
| 530 |
| 531 <h2 id="8"> Google Chrome 8 </h2> |
| 532 |
| 533 <p> |
| 534 We took a break for Chrome 8. |
| 535 No API or manifest changes worth noting. |
| 536 </p> |
| 537 |
| 538 |
| 539 <h2 id="7"> Google Chrome 7 </h2> |
| 540 |
| 541 <h4> New APIs </h4> |
| 542 <ul> |
| 543 <li>All users can now install |
| 544 <a href="http://code.google.com/chrome/apps/index.html">apps</a>; |
| 545 packaged apps can use extension APIs. |
| 546 <li>The <a href="management.html">management API</a> |
| 547 lets you work with installed apps and extensions. |
| 548 </ul> |
| 549 |
| 550 <h4> Manifest changes </h4> |
| 551 <ul> |
| 552 <li>Introduced <a href="manifest.html#incognito">split incognito</a> |
| 553 mode as the default for installable web apps |
| 554 (also available to extensions). |
| 555 <li>The <a href="tabs.html">tabs API</a> |
| 556 <code>create()</code> and <code>update()</code> methods |
| 557 no longer require the "tabs" permission, removing one common cause of |
| 558 <a href="permission_warnings.html">scary dialogs</a>. |
| 559 </ul> |
| 560 |
| 561 |
| 562 <h2 id="6">Google Chrome 6</h2> |
| 563 |
| 564 <h4> New APIs </h4> |
| 565 <ul> |
| 566 <li>The <a href="contextMenus.html">context menus API</a> allows you to |
| 567 add context menus to pages or specific objects on a page. |
| 568 <li>The <a href="cookies.html">cookies API</a> allows you to manage the |
| 569 browser's cookie system. |
| 570 <li>The <a href="idle.html">idle API</a> allows you to detect when the |
| 571 machine's idle state changes. |
| 572 </ul> |
| 573 |
| 574 <h4> Additions to existing APIs </h4> |
| 575 <ul> |
| 576 <li>The <a |
| 577 href="extension.html#method-getViews">chrome.extension.getViews()</a> |
| 578 method can now return popup views. |
| 579 <li>A new <a |
| 580 href="windows.html#property-WINDOW_ID_NONE">WINDOW_ID_NONE</a> constant |
| 581 identifies when focus shifts away from the browser. |
| 582 <li>The new <a |
| 583 href="tabs.html#method-getCurrent">chrome.tabs.getCurrent()</a> method |
| 584 returns the tab associated with the currently executing script. |
| 585 </ul> |
| 586 |
| 587 <h4> Manifest changes </h4> |
| 588 <ul> |
| 589 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
| 590 gives an extension access to the user's physical location. |
| 591 <li><a href="match_patterns.html">Match patterns</a> can now select all |
| 592 schemes or all URLs. |
| 593 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
| 594 security warning, but now requires user opt-in from the extensions |
| 595 management page. |
| 596 </ul> |
OLD | NEW |