OLD | NEW |
1 <h1 id="requirements">Manifest - Requirements</h1> | 1 <h1 id="requirements">Manifest - Requirements</h1> |
2 | 2 |
3 <p> | 3 <p> |
4 Technologies required by the app or extension. | 4 Technologies required by the app or extension. |
5 Hosting sites such as the Chrome Web Store may use this list | 5 Hosting sites such as the Chrome Web Store may use this list |
6 to dissuade users from installing apps or extensions | 6 to dissuade users from installing apps or extensions |
7 that will not work on their computer. | 7 that will not work on their computer. |
8 Supported requirements currently include "3D" and "plugins"; | 8 Supported requirements currently include "3D" and "plugins"; |
9 additional requirements checks may be added in the future. | 9 additional requirements checks may be added in the future. |
10 </p> | 10 </p> |
(...skipping 15 matching lines...) Expand all Loading... |
26 "features": ["webgl"] | 26 "features": ["webgl"] |
27 } | 27 } |
28 } | 28 } |
29 </pre> | 29 </pre> |
30 | 30 |
31 <p> | 31 <p> |
32 The "plugins" requirement indicates | 32 The "plugins" requirement indicates |
33 if an app or extension requires NPAPI to run. | 33 if an app or extension requires NPAPI to run. |
34 This requirement is enabled by default | 34 This requirement is enabled by default |
35 when the manifest includes the | 35 when the manifest includes the |
36 <a href="http://developer.chrome.com/extensions/npapi.html">"plugins" field</a>. | 36 <a href="http://developer.chrome.com/extensions/npapi">"plugins" field</a>. |
37 For apps and extensions that still work when plugins aren't available, | 37 For apps and extensions that still work when plugins aren't available, |
38 you can disable this requirement | 38 you can disable this requirement |
39 by setting NPAPI to false. | 39 by setting NPAPI to false. |
40 You can also enable this requirement manually, | 40 You can also enable this requirement manually, |
41 by setting NPAPI to true, | 41 by setting NPAPI to true, |
42 as shown in this example: | 42 as shown in this example: |
43 </p> | 43 </p> |
44 | 44 |
45 <pre data-filename="manifest.json"> | 45 <pre data-filename="manifest.json"> |
46 "requirements": { | 46 "requirements": { |
47 "plugins": { | 47 "plugins": { |
48 "npapi": true | 48 "npapi": true |
49 } | 49 } |
50 } | 50 } |
51 </pre> | 51 </pre> |
OLD | NEW |