欢迎 What's new in Chrome extensions Get help with Chrome extensions API reference Samples
欢迎 What's new in Chrome extensions Get help with Chrome extensions API reference Samples

Manifest - Requirements

Published on Updated on

Technologies required by the extension. Hosting sites such as the Chrome Web Store may use this list to dissuade users from installing extensions that will not work on their computer. Supported requirements currently include "3D" and "plugins"; additional requirements checks may be added in the future.

The "3D" requirement denotes GPU hardware acceleration. The "webgl" requirement refers to the WebGL API. For more information on Chrome 3D graphics support, see the help article on WebGL and 3D graphics. You can list the 3D-related features your extension requires, as demonstrated in the following example:

"requirements": {
"3D": {
"features": ["webgl"]
}
}

NPAPI Plugin support for extension has been discontinued. As part of this, the "plugins" requirement described below has been deprecated.

The "plugins" requirement indicates if an extension requires NPAPI to run. This requirement is enabled by default when the manifest includes the "plugins" field. For extensions that still work when plugins aren't available, you can disable this requirement by setting NPAPI to false. You can also enable this requirement manually, by setting NPAPI to true, as shown in this example:

"requirements": {
"plugins": {
"npapi": true
}
}

Updated on Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.