"permissions" Enables use of particular extension APIs. "options_ui" Specifies a path to an HTML file that lets a user change extension optionsįrom the Chrome Extensions page. "options_page" Specifies a path to an options.html file for the extension to use as an "optional_permissions" Declares optional permissions for your extension. "optional_host_permissions" Declares optional host "omnibox" Allows the extension to register a keyword in Chrome's address bar. Object with "client_id" and "scopes" properties. "oauth2" Allows the use of an OAuth 2.0 security ID. This includes business users inĮphemeral mode. Users whose Chrome version is older won't receive automatic updates to yourĮxtension. If you add this to an existing extension, Minimum version see a "Not compatible" warning in the Chrome Web Store, and are Users with versions of Chrome older than the Must be a substring of an existing Chrome browser version string, such as "minimum_chrome_version" Defines the oldest Chrome version that can install your extension. "key" Specifies your extension's ID for various development use cases. "incognito" Defines how the extension behaves in incognito mode. "import" Allows resources to be imported into the extension. For more information, see Host permissions. User permission for these sites is requested at install "host_permissions" Lists the web pages your extension is allowed to interact with, defined using Particularly useful if you host the extension The homepage defaults to the extension's Chrome Web Store page. "homepage_url" A string specifying a URL for the extension's homepage. More information, see "externally_connectable". "externally_connectable" Specifies what other pages and extensions can connect to your extensions. "export" Allows resources to be exported from the extension. "devtools_page" Defines pages that use the DevTools APIs. Localized extensions, and must not be used in extensions that aren't localized.įor more information, see Internationalization. "default_locale" A string that defines the default language of an extension that supports "declarative_net_request" Defines static rules for the declarativeNetRequestĪPI, which allows blocking and modifying of network requests. You ensure that a top-level extension page doesn't share a browsing context "cross_origin_opener_policy" Specifies a value for the Cross-Origin-Opener-Policy HTTP header, which lets "cross_origin_embedder_policy" Specifies a value for the Cross-Origin-Embedder-Policy HTTP header, whichĬonfigures embedding of cross-origin resources in an extension page. For more information, see Content security policy. "content_security_policy" Defines restrictions on the scripts, styles, and other resources an extensionĬan use. For more information, see Content scripts. "content_scripts" Specifies JavaScript or CSS files to be used when the user opens certain web "commands" Defines keyboard shortcuts within the extension. "chrome_url_overrides" Defines overrides for default Chrome pages. "chrome_settings_overrides" Defines overrides for selected Chrome settings. For more information, see About extension service "background" Specifies the JavaScript file containing the extension's service worker, which acts asĪn event handler. "author" Specifies the email address of the account that was used to create theĮxtension. Optional keys "action" Defines the appearance and behavior of the extension's icon in the Google "icons" One or more icons that represent your extension. On localizing descriptions, see Internationalization. Keys required by Chrome Web Store "description" A string that describes the extension on both the Chrome Web Store and the user'sĮxtension management page. "version" A string that identifies the extension's version number. For information on using locale-specific names, The user's Chrome Extensions page ( chrome://extensions). "name" A string that identifies the extension in the Chrome Web Keys required by the Extensions platform "manifest_version" An integer specifying the version of the manifest file format that yourĮxtension uses. The following is a list of all supported manifest keys. "description": "Extension with a default side panel.", "description": "Extension that includes a popup and requests host permissions and storage permissions. "name": "Popup extension that requests permissions", "description": "Runs a script when the user clicks the action toolbar icon.", "description": "Runs a script on automatically when user installs the extension", "description": "A basic example extension with only required keys",
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |