OLD | NEW |
1 <div id="pageData-name" class="pageData">Manifest Version</div> | 1 <div id="pageData-name" class="pageData">Manifest Version</div> |
2 | 2 |
3 <p> | 3 <p> |
4 Extensions, themes, and applications are simply bundles of resources, wrapped | 4 Extensions, themes, and applications are simply bundles of resources, wrapped |
5 up with a <a href="manifest.html"><code>manifest.json</code></a> file that | 5 up with a <a href="manifest.html"><code>manifest.json</code></a> file that |
6 describes the package's contents. The format of this file is generally stable, | 6 describes the package's contents. The format of this file is generally stable, |
7 but occasionally breaking changes must be made to address specific issues. | 7 but occasionally breaking changes must be made to address specific issues. |
8 Developers should specify which version of the manifest specification their | 8 Developers should specify which version of the manifest specification their |
9 package targets by setting a <code>manifest_version</code> key in their | 9 package targets by setting a <code>manifest_version</code> key in their |
10 manifests. | 10 manifests. |
(...skipping 19 matching lines...) Expand all Loading... |
30 either explicitly specify version <code>1</code>, or leave the key off | 30 either explicitly specify version <code>1</code>, or leave the key off |
31 entirely. | 31 entirely. |
32 </p> | 32 </p> |
33 | 33 |
34 <p> | 34 <p> |
35 At some point in the future, support for manifest version 1 will be removed. | 35 At some point in the future, support for manifest version 1 will be removed. |
36 Ample warning will be provided, beginning with warnings when loading unpacked | 36 Ample warning will be provided, beginning with warnings when loading unpacked |
37 version 1 extensions, and escalating from there over time. | 37 version 1 extensions, and escalating from there over time. |
38 </p> | 38 </p> |
39 | 39 |
| 40 <p class="caution"> |
| 41 Setting <code>manifest_version</code> 2 in Chrome 17 or lower is not |
| 42 recommended. If your extension needs to work in older versions of Chrome, |
| 43 stick with version 1 for the moment. We'll give you ample warning before |
| 44 version 1 stops working. |
| 45 </p> |
| 46 |
40 <h2>Changes between version 1 and 2</h2> | 47 <h2>Changes between version 1 and 2</h2> |
41 | 48 |
42 <ul> | 49 <ul> |
43 <li> | 50 <li> |
44 <p> | 51 <p> |
45 A content security policy is set to <code>`script-src 'self'; object-src | 52 A content security policy is set to <code>`script-src 'self'; object-src |
46 'self'</code> by default. This has a variety of impacts on developers, | 53 'self'</code> by default. This has a variety of impacts on developers, |
47 described at length in the <a href="contentSecurityPolicy.html"> | 54 described at length in the <a href="contentSecurityPolicy.html"> |
48 <code>content_security_policy</code></a> documentation. | 55 <code>content_security_policy</code></a> documentation. |
49 </p> | 56 </p> |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 </li> | 143 </li> |
137 <li> | 144 <li> |
138 <p> | 145 <p> |
139 The <code>chrome.self</code> API has been removed. Use | 146 The <code>chrome.self</code> API has been removed. Use |
140 <a href="extension.html"><code>chrome.extension</code></a> instead. | 147 <a href="extension.html"><code>chrome.extension</code></a> instead. |
141 </p> | 148 </p> |
142 </li> | 149 </li> |
143 </ul> | 150 </ul> |
144 </li> | 151 </li> |
145 </ul> | 152 </ul> |
OLD | NEW |