OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 2 is not yet <em>required</em>. Extensions, applications, and themes that | 216 2 is not yet <em>required</em>. Extensions, applications, and themes that |
217 aren't ready to make the jump to the new manifest version in Chrome 18 can | 217 aren't ready to make the jump to the new manifest version in Chrome 18 can |
218 either explicitly specify version <code>1</code>, or leave the key off | 218 either explicitly specify version <code>1</code>, or leave the key off |
219 entirely. | 219 entirely. |
220 </p> | 220 </p> |
221 <p> | 221 <p> |
222 At some point in the future, support for manifest version 1 will be removed. | 222 At some point in the future, support for manifest version 1 will be removed. |
223 Ample warning will be provided, beginning with warnings when loading unpacked | 223 Ample warning will be provided, beginning with warnings when loading unpacked |
224 version 1 extensions, and escalating from there over time. | 224 version 1 extensions, and escalating from there over time. |
225 </p> | 225 </p> |
| 226 <p class="caution"> |
| 227 Setting <code>manifest_version</code> 2 in Chrome 17 or lower is not |
| 228 recommended. If your extension needs to work in older versions of Chrome, |
| 229 stick with version 1 for the moment. We'll give you ample warning before |
| 230 version 1 stops working. |
| 231 </p> |
226 <h2>Changes between version 1 and 2</h2> | 232 <h2>Changes between version 1 and 2</h2> |
227 <ul> | 233 <ul> |
228 <li> | 234 <li> |
229 <p> | 235 <p> |
230 A content security policy is set to <code>`script-src 'self'; object-src | 236 A content security policy is set to <code>`script-src 'self'; object-src |
231 'self'</code> by default. This has a variety of impacts on developers, | 237 'self'</code> by default. This has a variety of impacts on developers, |
232 described at length in the <a href="contentSecurityPolicy.html"> | 238 described at length in the <a href="contentSecurityPolicy.html"> |
233 <code>content_security_policy</code></a> documentation. | 239 <code>content_security_policy</code></a> documentation. |
234 </p> | 240 </p> |
235 </li> | 241 </li> |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 _uff=0; | 367 _uff=0; |
362 urchinTracker(); | 368 urchinTracker(); |
363 } | 369 } |
364 catch(e) {/* urchinTracker not available. */} | 370 catch(e) {/* urchinTracker not available. */} |
365 </script> | 371 </script> |
366 <!-- end analytics --> | 372 <!-- end analytics --> |
367 </div> | 373 </div> |
368 </div> <!-- /gc-footer --> | 374 </div> <!-- /gc-footer --> |
369 </div> <!-- /gc-container --> | 375 </div> <!-- /gc-container --> |
370 </body></html> | 376 </body></html> |
OLD | NEW |