You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** An integer specifying the version of the manifest file format that your extension uses. */
9267
9268
manifest_version: number;
9269
+
/** A string that identifies the extension in the Chrome Web Store, the install dialog, and the user's Chrome Extensions page (`chrome://extensions`). The maximum length is 75 characters. */
9268
9270
name: string;
9271
+
/** A string that identifies the extension's version number. */
9269
9272
version: string;
9270
9273
9271
9274
// Recommended
9275
+
/** A string that defines the default language of an extension that supports multiple locales. Examples include "en" and "pt_BR". This key is required in localized extensions, and must not be used in extensions that aren't localized. */
9272
9276
default_locale?: string | undefined;
9277
+
/** A string that describes the extension on both the Chrome Web Store and the user's extension management page. The maximum length is 132 characters. */
9273
9278
description?: string | undefined;
9279
+
/** One or more icons that represent your extension. */
9274
9280
icons?: ManifestIcons | undefined;
9275
9281
9276
9282
// Optional
9277
-
author?: {
9278
-
email: string;
9279
-
} | undefined;
9280
-
background_page?: string | undefined;
9283
+
/** @deprecated As of February 2024, the `author` key is no longer supported by Chrome or the Chrome Web Store. If present, it's silently ignored. */
9284
+
author?: { email: string } | undefined;
9285
+
/** Defines overrides for selected Chrome settings. */
9281
9286
chrome_settings_overrides?: {
9282
9287
homepage?: string | undefined;
9283
9288
search_provider?: SearchProvider | undefined;
9284
9289
startup_pages?: string[] | undefined;
9285
9290
} | undefined;
9286
-
chrome_ui_overrides?: {
9287
-
bookmarks_ui?: {
9288
-
remove_bookmark_shortcut?: boolean | undefined;
9289
-
remove_button?: boolean | undefined;
9290
-
} | undefined;
9291
-
} | undefined;
9291
+
/** Defines overrides for default Chrome pages. */
9292
9292
chrome_url_overrides?: {
9293
9293
bookmarks?: string | undefined;
9294
9294
history?: string | undefined;
9295
9295
newtab?: string | undefined;
9296
9296
} | undefined;
9297
+
/** Defines keyboard shortcuts within the extension. */
/** Specifies a value for the Cross-Origin-Opener-Policy HTTP header, which lets you ensure that a top-level extension page doesn't share a browsing context group with cross-origin documents. */
/** Specifies what other pages and extensions can connect to your extensions. */
9341
9333
externally_connectable?: {
9342
9334
ids?: string[] | undefined;
9343
9335
matches?: string[] | undefined;
9344
9336
accepts_tls_channel_id?: boolean | undefined;
9345
9337
} | undefined;
9338
+
/** Provides access to the fileBrowserHandler API, which lets extensions access the ChromeOS file browser. */
9346
9339
file_browser_handlers?:
9347
9340
| Array<{
9348
9341
id?: string | undefined;
9349
9342
default_title?: string | undefined;
9350
9343
file_filters?: string[] | undefined;
9351
9344
}>
9352
9345
| undefined;
9346
+
/** Allows access to the fileSystemProvider API, which lets extensions create file systems that ChromeOS can use. */
9353
9347
file_system_provider_capabilities?: {
9348
+
/** Whether configuring via onConfigureRequested is supported. By default: false. */
9354
9349
configurable?: boolean | undefined;
9350
+
/** Whether setting watchers and notifying about changes is supported. By default: false. */
9355
9351
watchable?: boolean | undefined;
9352
+
/** Whether multiple (more than one) mounted file systems are supported. By default: false. */
9356
9353
multiple_mounts?: boolean | undefined;
9357
-
source?: string | undefined;
9354
+
/** Files app uses above information in order to render related UI elements appropriately. For example, if `configurable` is set to true, then a menu item for configuring volumes will be rendered. Similarly, if `multiple_mounts` is set to true, then Files app will allow to add more than one mount points from the UI. If `watchable` is false, then a refresh button will be rendered. Note, that if possible you should add support for watchers, so changes on the file system can be reflected immediately and automatically. */
9355
+
source: "file" | "device" | "network";
9358
9356
} | undefined;
9357
+
/** string specifying a URL for the extension's homepage. If this is undefined, the homepage defaults to the extension's Chrome Web Store page. This field is particularly useful if you host the extension on your own site. */
9359
9358
homepage_url?: string | undefined;
9359
+
/** Allows resources to be imported into the extension. */
9360
9360
import?:
9361
9361
| Array<{
9362
9362
id: string;
9363
9363
minimum_version?: string | undefined;
9364
9364
}>
9365
9365
| undefined;
9366
-
export?: {
9367
-
whitelist?: string[] | undefined;
9368
-
} | undefined;
9369
-
incognito?: string | undefined;
9366
+
/** Allows resources to be exported from the extension. */
/** Allows the use of the Input Method Editor API. */
9370
9371
input_components?:
9371
9372
| Array<{
9372
-
name?: string | undefined;
9373
-
type?: string | undefined;
9373
+
name: string;
9374
9374
id?: string | undefined;
9375
-
description?: string | undefined;
9376
9375
language?: string[] | string | undefined;
9377
-
layouts?: string[] | undefined;
9378
-
indicator?: string | undefined;
9376
+
layouts?: string[] | string | undefined;
9377
+
input_view?: string | undefined;
9378
+
options_page?: string | undefined;
9379
9379
}>
9380
9380
| undefined;
9381
+
/** Specifies your extension's ID for various development use cases. */
9381
9382
key?: string | undefined;
9383
+
/** Defines the oldest Chrome version that can install your extension. The value must be a substring of an existing Chrome browser version string, such as "107" or "107.0.5304.87". Users with versions of Chrome older than the minimum version see a "Not compatible" warning in the Chrome Web Store, and are unable to install your extension. If you add this to an existing extension, users whose Chrome version is older won't receive automatic updates to your extension. This includes business users in ephemeral mode. */
9382
9384
minimum_chrome_version?: string | undefined;
9383
9385
nacl_modules?:
9384
9386
| Array<{
9385
9387
path: string;
9386
9388
mime_type: string;
9387
9389
}>
9388
9390
| undefined;
9391
+
/** Allows the use of an OAuth 2.0 security ID. The value of this key must be an object with "client_id" and "scopes" properties. */
9389
9392
oauth2?: {
9390
9393
client_id: string;
9391
9394
scopes?: string[] | undefined;
9392
9395
} | undefined;
9393
9396
offline_enabled?: boolean | undefined;
9394
-
omnibox?: {
9395
-
keyword: string;
9396
-
} | undefined;
9397
+
/** Allows the extension to register a keyword in Chrome's address bar. */
9398
+
omnibox?: { keyword: string } | undefined;
9399
+
/** Specifies a path to an options.html file for the extension to use as an options page. */
9397
9400
options_page?: string | undefined;
9401
+
/** Specifies a path to an HTML file that lets a user change extension options from the Chrome Extensions page. */
9398
9402
options_ui?: {
9399
-
page?: string | undefined;
9400
-
chrome_style?: boolean | undefined;
9401
-
open_in_tab?: boolean | undefined;
9403
+
/** Path to the options page, relative to the extension's root. */
9404
+
page: string;
9405
+
/** Specify as `false` to declare an embedded options page. If `true`, the extension's options page will be opened in a new tab rather than embedded in `chrome://extensions`. */
9406
+
open_in_tab: boolean;
9402
9407
} | undefined;
9403
-
platforms?:
9404
-
| Array<{
9405
-
nacl_arch?: string | undefined;
9406
-
sub_package_path: string;
9407
-
}>
9408
-
| undefined;
9409
-
plugins?:
9410
-
| Array<{
9411
-
path: string;
9412
-
}>
9413
-
| undefined;
9408
+
/** Lists technologies required to use the extension. */
/** Defines a set of extension pages that don't have access to extension APIs or direct access to non-sandboxed pages. */
9422
9415
sandbox?: {
9423
9416
pages: string[];
9424
9417
content_security_policy?: string | undefined;
9425
9418
} | undefined;
9419
+
/** A string containing a shortened version of the extension's name to be used when character space is limited. The maximum length is 12 characters. If this is undefined, a truncated version of the "name" key displays instead. */
9426
9420
short_name?: string | undefined;
9427
-
spellcheck?: {
9428
-
dictionary_language?: string | undefined;
9429
-
dictionary_locale?: string | undefined;
9430
-
dictionary_format?: string | undefined;
9431
-
dictionary_path?: string | undefined;
9432
-
} | undefined;
9433
-
storage?: {
9434
-
managed_schema: string;
9435
-
} | undefined;
9421
+
/** Declares a JSON schema for the managed storage area. */
9422
+
storage?: { managed_schema: string } | undefined;
9423
+
/** Registers the extension as a text to speech engine. */
/** A string containing the URL of the extension's updates page. Use this key if you're hosting your extension outside the Chrome Web Store. */
9444
9433
update_url?: string | undefined;
9434
+
/** A string describing the extension's version. Examples include "1.0 beta" and "build rc2". If this is unspecified, the "version" value displays on the extension management page instead. */
/** Defines restrictions on the scripts, styles, and other resources an extension can use. */
9497
9513
content_security_policy?: {
9498
9514
extension_pages?: string;
9499
9515
sandbox?: string;
9500
-
};
9516
+
} | undefined;
9517
+
/** Specifies file types for ChromeOS extensions to handle. */
9518
+
file_handlers?:
9519
+
| Array<{
9520
+
/** Specifies an HTML file to show when a file is opened. The file must be within your extension. Processing the file, whether it's displayed or used in some other way, is done with JavaScript using appropriate web platform APIs. This code must be in a separate JavaScript file included via a `<script>` tag. */
9521
+
action: string;
9522
+
/** A user friendly description of the action. */
9523
+
name: string;
9524
+
/** The file types that can be processed by the page specified in "action". The items in the dictionary are a key/value pair where the key is a MIME type and the value is an array of file extensions. Only known MIME types are allowed for the key. Custom file types are allowed but the key for a custom type must be a known MIME type, and the mapping between the MIME type and the custom file type must be supported by the underlying operating system. */
9525
+
accept: { [mime_type: string]: string[] };
9526
+
/** Specifies whether multiple files should be opened in a single client or multiple clients. The default value is "single-client". */
/** Lists the web pages your extension is allowed to interact with, defined using URL match patterns. User permission for these sites is requested at install time. */
9501
9531
host_permissions?: string[] | undefined;
9532
+
/** Declares optional permissions for your extension. */
0 commit comments