OLD | NEW |
1 <div id="pageData-name" class="pageData">What's New in Extensions?</div> | 1 <div id="pageData-name" class="pageData">What's New in Extensions?</div> |
2 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> | 2 <!-- <div id="pageData-showTOC" class="pageData">true</div> --> |
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 <ul> | 9 <ul> |
| 10 <li> <a href="#14">Google Chrome 14</a> </li> |
10 <li> <a href="#13">Google Chrome 13</a> </li> | 11 <li> <a href="#13">Google Chrome 13</a> </li> |
11 <li> <a href="#12">Google Chrome 12</a> </li> | 12 <li> <a href="#12">Google Chrome 12</a> </li> |
12 <li> <a href="#11">Google Chrome 11</a> </li> | 13 <li> <a href="#11">Google Chrome 11</a> </li> |
13 <li> <a href="#10">Google Chrome 10</a> </li> | 14 <li> <a href="#10">Google Chrome 10</a> </li> |
14 <li> <a href="#9">Google Chrome 9</a> </li> | 15 <li> <a href="#9">Google Chrome 9</a> </li> |
15 <li> <a href="#8">Google Chrome 8</a> </li> | 16 <li> <a href="#8">Google Chrome 8</a> </li> |
16 <li> <a href="#7">Google Chrome 7</a> </li> | 17 <li> <a href="#7">Google Chrome 7</a> </li> |
17 <li> <a href="#6">Google Chrome 6</a> </li> | 18 <li> <a href="#6">Google Chrome 6</a> </li> |
18 </ul> | 19 </ul> |
19 | 20 |
| 21 <p> |
| 22 In addition to the changes listed below, |
| 23 check out the |
| 24 <a href="experimental.html">experimental APIs</a>. |
| 25 </p> |
| 26 |
| 27 |
| 28 <h2 id="14"> Google Chrome 14 </h2> |
| 29 |
| 30 <h4> New APIs </h4> |
| 31 <ul> |
| 32 <li> The <a href="tts.html">tts API</a> |
| 33 lets extensions generate speech from text. </li> |
| 34 <li> The <a href="ttsEngine.html">ttsEngine API</a> |
| 35 lets extensions implement text-to-speech (TTS) engines. </li> |
| 36 <li> Extensions that are distributed through the Chrome Web Store |
| 37 can now include Native Client modules. |
| 38 No special manifest entry is necessary, as you can see from the |
| 39 <a href="http://code.google.com/p/naclports/source/browse#svn%2Ftrunk%2Fsr
c%2Fpackages%2Flibraries%2Fnethack-3.4.3">NetHack example</a>. |
| 40 For more information, see the |
| 41 <a href="http://blog.chromium.org/2011/08/native-client-brings-sandboxed-n
ative.html">announcement</a> and the |
| 42 <a href="http://code.google.com/chrome/nativeclient/">Native Client docume
ntation</a>. |
| 43 </ul> |
| 44 |
| 45 <h4> Manifest changes </h4> |
| 46 <ul> |
| 47 <li> The new |
| 48 <a href="manifest.html#content_security_policy">content_security_policy</a
> field |
| 49 can help prevent |
| 50 <a href="http://blog.chromium.org/2011/07/writing-extensions-more-securely
.html">cross-site scripting vulnerabilities</a> |
| 51 in your extension. |
| 52 </li> |
| 53 <li> The new <a href="manifest.html#nacl_modules">nacl_modules</a> field |
| 54 lets you register Native Client modules |
| 55 as content handlers for MIME types. |
| 56 </li> |
| 57 </ul> |
| 58 |
| 59 <h4> Additions to existing APIs </h4> |
| 60 <ul> |
| 61 <li> |
| 62 <a href="contextMenus.html">Context menu</a> items |
| 63 can now appear even in documents |
| 64 that have file:// or chrome:// URLs. |
| 65 Previously, they were restricted to documents with |
| 66 http:// or https:// URLs. |
| 67 </li> |
| 68 <li> |
| 69 An optional <code>drawAttention</code> field in |
| 70 <a href="windows.html#method-update">chrome.windows.update()</a>'s |
| 71 <code>updateInfo</code> object lets you specify that the window |
| 72 should entice the user to change focus to it. |
| 73 </li> |
| 74 <li> |
| 75 The new |
| 76 <a href="bookmarks.html#method-getSubTree">bookmarks.getSubTree()</a> |
| 77 function lets you retrieve just part of the Bookmarks hierarchy. |
| 78 </li> |
| 79 </ul> |
| 80 |
| 81 <h4> Changes to existing APIs </h4> |
| 82 <ul> |
| 83 <li> |
| 84 The "tabs" permission is no longer required for |
| 85 <a href="tabs.html#method-remove">tabs.remove</a> and |
| 86 <a href="tabs.html#event-onRemoved">tabs.onRemoved</a>. |
| 87 </li> |
| 88 </ul> |
| 89 |
20 <h2 id="13"> Google Chrome 13 </h2> | 90 <h2 id="13"> Google Chrome 13 </h2> |
21 | 91 |
22 <h4> New APIs </h4> | 92 <h4> New APIs </h4> |
23 <ul> | 93 <ul> |
24 <li> The <a href="proxy.html">proxy API</a> | 94 <li> The <a href="proxy.html">proxy API</a> |
25 lets extensions manage Chrome's proxy settings. | 95 lets extensions manage Chrome's proxy settings. |
26 </li> | 96 </li> |
27 <li> The | 97 <li> The |
28 <a href="types.html#type-ChromeSetting">chrome.types.ChromeSetting</a> pro
totype | 98 <a href="types.html#type-ChromeSetting">chrome.types.ChromeSetting</a> pro
totype |
29 provides an interface to browser settings; | 99 provides an interface to browser settings; |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 <ul> | 321 <ul> |
252 <li>The <a href="manifest.html#geolocation">geolocation</a> permission | 322 <li>The <a href="manifest.html#geolocation">geolocation</a> permission |
253 gives an extension access to the user's physical location. </li> | 323 gives an extension access to the user's physical location. </li> |
254 <li><a href="match_patterns.html">Match patterns</a> can now select all | 324 <li><a href="match_patterns.html">Match patterns</a> can now select all |
255 schemes or all URLs. </li> | 325 schemes or all URLs. </li> |
256 <li>Access to file:/// URLs no longer triggers the "access to your machine" | 326 <li>Access to file:/// URLs no longer triggers the "access to your machine" |
257 security warning, but now requires user opt-in from the extensions | 327 security warning, but now requires user opt-in from the extensions |
258 management page. </li> | 328 management page. </li> |
259 </ul> | 329 </ul> |
260 | 330 |
OLD | NEW |