|
258 | 258 | "tts", |
259 | 259 | "ttsEngine", |
260 | 260 | "unlimitedStorage", |
| 261 | + "userScripts", |
261 | 262 | "vpnProvider", |
262 | 263 | "wallpaper", |
263 | 264 | "webAuthenticationProxy", |
|
567 | 568 | }, |
568 | 569 | "match_about_blank": { |
569 | 570 | "type": "boolean", |
570 | | - "description": "Whether to insert the content script on about:blank and about:srcdoc.", |
| 571 | + "description": "Whether to insert the content script into about:blank and about:srcdoc.", |
| 572 | + "default": false |
| 573 | + }, |
| 574 | + "match_origin_as_fallback": { |
| 575 | + "type": "boolean", |
| 576 | + "description": "Whether to insert the content script into frames with about:, data:, blob:, and filesystem: schemes whose initiator origin matches a pattern in matches. Requires the path of every matches pattern to be '*'.", |
571 | 577 | "default": false |
572 | 578 | } |
573 | 579 | } |
|
896 | 902 | "type": "string", |
897 | 903 | "description": "In addition to the version field, which is used for update purposes, version_name can be set to a descriptive version string and will be used for display purposes if present." |
898 | 904 | }, |
| 905 | + "author": { |
| 906 | + "description": "The extension's author, shown in the Chrome Web Store.", |
| 907 | + "anyOf": [ |
| 908 | + { |
| 909 | + "type": "string" |
| 910 | + }, |
| 911 | + { |
| 912 | + "type": "object", |
| 913 | + "additionalProperties": false, |
| 914 | + "properties": { |
| 915 | + "email": { |
| 916 | + "type": "string" |
| 917 | + } |
| 918 | + } |
| 919 | + } |
| 920 | + ] |
| 921 | + }, |
| 922 | + "export": { |
| 923 | + "type": "object", |
| 924 | + "description": "Shared Modules: exposes this extension's resources to other extensions.", |
| 925 | + "additionalProperties": false, |
| 926 | + "properties": { |
| 927 | + "allowlist": { |
| 928 | + "type": "array", |
| 929 | + "description": "Extension IDs allowed to import resources from this Shared Module. If omitted, any extension may import.", |
| 930 | + "items": { |
| 931 | + "type": "string" |
| 932 | + } |
| 933 | + }, |
| 934 | + "whitelist": { |
| 935 | + "type": "array", |
| 936 | + "description": "Deprecated alias for allowlist.", |
| 937 | + "items": { |
| 938 | + "type": "string" |
| 939 | + } |
| 940 | + } |
| 941 | + } |
| 942 | + }, |
899 | 943 | "chrome_settings_overrides": {}, |
900 | 944 | "content_pack": {}, |
901 | 945 | "current_locale": {}, |
902 | | - "import": {}, |
| 946 | + "import": { |
| 947 | + "type": "array", |
| 948 | + "description": "Shared Modules: declares the extension IDs this extension imports resources from.", |
| 949 | + "items": { |
| 950 | + "type": "object", |
| 951 | + "required": ["id"], |
| 952 | + "additionalProperties": false, |
| 953 | + "properties": { |
| 954 | + "id": { |
| 955 | + "type": "string", |
| 956 | + "description": "The extension ID of the Shared Module to import." |
| 957 | + }, |
| 958 | + "minimum_version": { |
| 959 | + "$ref": "#/definitions/version_string", |
| 960 | + "description": "The minimum version of the Shared Module required." |
| 961 | + } |
| 962 | + } |
| 963 | + } |
| 964 | + }, |
903 | 965 | "platforms": {}, |
904 | 966 | "signature": {}, |
905 | 967 | "spellcheck": {}, |
|
964 | 1026 | "items": { |
965 | 1027 | "$ref": "#/definitions/web_resource" |
966 | 1028 | } |
| 1029 | + }, |
| 1030 | + "optional_host_permissions": { |
| 1031 | + "$ref": "#/definitions/permissions", |
| 1032 | + "description": "Hosts the extension may request access to at runtime through the chrome.permissions API, rather than at install time." |
| 1033 | + }, |
| 1034 | + "declarative_net_request": { |
| 1035 | + "type": "object", |
| 1036 | + "description": "Declares static rulesets for the declarativeNetRequest API, which blocks or modifies network requests without intercepting them or reading their content.", |
| 1037 | + "required": ["rule_resources"], |
| 1038 | + "additionalProperties": false, |
| 1039 | + "properties": { |
| 1040 | + "rule_resources": { |
| 1041 | + "type": "array", |
| 1042 | + "uniqueItems": true, |
| 1043 | + "items": { |
| 1044 | + "type": "object", |
| 1045 | + "required": ["id", "enabled", "path"], |
| 1046 | + "additionalProperties": false, |
| 1047 | + "properties": { |
| 1048 | + "id": { |
| 1049 | + "type": "string", |
| 1050 | + "description": "A non-empty string that uniquely identifies the ruleset. IDs starting with '_' are reserved for internal use." |
| 1051 | + }, |
| 1052 | + "enabled": { |
| 1053 | + "type": "boolean", |
| 1054 | + "description": "Whether the ruleset is enabled by default." |
| 1055 | + }, |
| 1056 | + "path": { |
| 1057 | + "$ref": "#/definitions/uri", |
| 1058 | + "description": "The path of the JSON ruleset, relative to the extension directory." |
| 1059 | + } |
| 1060 | + } |
| 1061 | + } |
| 1062 | + } |
| 1063 | + } |
| 1064 | + }, |
| 1065 | + "side_panel": { |
| 1066 | + "type": "object", |
| 1067 | + "description": "Configures the side panel, a UI surface displayed alongside the main page (Chrome 114+).", |
| 1068 | + "additionalProperties": false, |
| 1069 | + "properties": { |
| 1070 | + "default_path": { |
| 1071 | + "$ref": "#/definitions/uri", |
| 1072 | + "description": "The path to the HTML file shown in the side panel by default." |
| 1073 | + } |
| 1074 | + } |
| 1075 | + }, |
| 1076 | + "cross_origin_embedder_policy": { |
| 1077 | + "type": "object", |
| 1078 | + "description": "Sets the Cross-Origin-Embedder-Policy response header for the extension's pages, enabling cross-origin isolation features such as SharedArrayBuffer.", |
| 1079 | + "additionalProperties": false, |
| 1080 | + "properties": { |
| 1081 | + "value": { |
| 1082 | + "type": "string", |
| 1083 | + "description": "The Cross-Origin-Embedder-Policy header value, for example 'require-corp'." |
| 1084 | + } |
| 1085 | + } |
| 1086 | + }, |
| 1087 | + "cross_origin_opener_policy": { |
| 1088 | + "type": "object", |
| 1089 | + "description": "Sets the Cross-Origin-Opener-Policy response header for the extension's pages.", |
| 1090 | + "additionalProperties": false, |
| 1091 | + "properties": { |
| 1092 | + "value": { |
| 1093 | + "type": "string", |
| 1094 | + "description": "The Cross-Origin-Opener-Policy header value, for example 'same-origin'." |
| 1095 | + } |
| 1096 | + } |
967 | 1097 | } |
968 | 1098 | }, |
969 | 1099 | "dependencies": { |
|
0 commit comments