webext-schema 5.1.15 → 5.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -11
- package/schemas/beta/webext.json +32 -0
- package/schemas/central/webext.json +32 -0
- package/schemas/mail/mailext.json +416 -127
- package/schemas/release/webext.json +11 -10
package/package.json
CHANGED
|
@@ -13,30 +13,30 @@
|
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"types": "types/index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@types/firefox-webext-browser": "^111.0.1",
|
|
17
|
-
"@types/node": "^20.1.1",
|
|
18
|
-
"@types/sinon": "^10.0.14",
|
|
19
16
|
"camelize": "^1.0.1",
|
|
20
17
|
"commander": "^10.0.1",
|
|
21
18
|
"decamelize": "^6.0.0",
|
|
22
19
|
"json5": "^2.2.3",
|
|
23
|
-
"sinon": "^15.0
|
|
20
|
+
"sinon": "^15.1.0"
|
|
24
21
|
},
|
|
25
22
|
"devDependencies": {
|
|
26
|
-
"
|
|
23
|
+
"@types/firefox-webext-browser": "^111.0.1",
|
|
24
|
+
"@types/node": "^20.2.6",
|
|
25
|
+
"@types/sinon": "^10.0.15",
|
|
26
|
+
"c8": "^7.14.0",
|
|
27
27
|
"chai": "^4.3.7",
|
|
28
|
-
"eslint": "^8.
|
|
29
|
-
"eslint-config-standard": "^17.
|
|
28
|
+
"eslint": "^8.42.0",
|
|
29
|
+
"eslint-config-standard": "^17.1.0",
|
|
30
30
|
"eslint-plugin-import": "^2.27.5",
|
|
31
|
-
"eslint-plugin-jsdoc": "^
|
|
31
|
+
"eslint-plugin-jsdoc": "^46.2.6",
|
|
32
32
|
"eslint-plugin-node": "^11.1.0",
|
|
33
33
|
"eslint-plugin-promise": "^6.1.1",
|
|
34
34
|
"eslint-plugin-regexp": "^1.15.0",
|
|
35
35
|
"eslint-plugin-unicorn": "^47.0.0",
|
|
36
36
|
"mocha": "^10.2.0",
|
|
37
37
|
"npm-run-all": "^4.1.5",
|
|
38
|
-
"typescript": "^5.
|
|
39
|
-
"undici": "^5.22.
|
|
38
|
+
"typescript": "^5.1.3",
|
|
39
|
+
"undici": "^5.22.1"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "npm run tsc && npm run lint && npm run test",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"update-mail": "node index update --channel=mail -i",
|
|
57
57
|
"update-release": "node index update --channel=release -i"
|
|
58
58
|
},
|
|
59
|
-
"version": "5.1.
|
|
59
|
+
"version": "5.1.16"
|
|
60
60
|
}
|
package/schemas/beta/webext.json
CHANGED
|
@@ -916,6 +916,31 @@
|
|
|
916
916
|
"type": "string"
|
|
917
917
|
}
|
|
918
918
|
]
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "onChanged",
|
|
922
|
+
"description": "Fired when a registered command's shortcut is changed.",
|
|
923
|
+
"type": "function",
|
|
924
|
+
"parameters": [
|
|
925
|
+
{
|
|
926
|
+
"type": "object",
|
|
927
|
+
"name": "changeInfo",
|
|
928
|
+
"properties": {
|
|
929
|
+
"name": {
|
|
930
|
+
"type": "string",
|
|
931
|
+
"description": "The name of the shortcut."
|
|
932
|
+
},
|
|
933
|
+
"newShortcut": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"description": "The new shortcut active for this command, or blank if not active."
|
|
936
|
+
},
|
|
937
|
+
"oldShortcut": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"description": "The old shortcut which is no longer active for this command, or blank if the shortcut was previously inactive."
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
]
|
|
919
944
|
}
|
|
920
945
|
],
|
|
921
946
|
"functions": [
|
|
@@ -17534,6 +17559,13 @@
|
|
|
17534
17559
|
"description": "The maximum size (in bytes) of the managed storage JSON manifest file. Files larger than this limit will fail to load."
|
|
17535
17560
|
}
|
|
17536
17561
|
}
|
|
17562
|
+
},
|
|
17563
|
+
"session": {
|
|
17564
|
+
"allowedContexts": [
|
|
17565
|
+
"devtools"
|
|
17566
|
+
],
|
|
17567
|
+
"$ref": "StorageArea",
|
|
17568
|
+
"description": "Items in the <code>session</code> storage area are kept in memory, and only until the either browser or extension is closed or reloaded."
|
|
17537
17569
|
}
|
|
17538
17570
|
}
|
|
17539
17571
|
}
|
|
@@ -916,6 +916,31 @@
|
|
|
916
916
|
"type": "string"
|
|
917
917
|
}
|
|
918
918
|
]
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "onChanged",
|
|
922
|
+
"description": "Fired when a registered command's shortcut is changed.",
|
|
923
|
+
"type": "function",
|
|
924
|
+
"parameters": [
|
|
925
|
+
{
|
|
926
|
+
"type": "object",
|
|
927
|
+
"name": "changeInfo",
|
|
928
|
+
"properties": {
|
|
929
|
+
"name": {
|
|
930
|
+
"type": "string",
|
|
931
|
+
"description": "The name of the shortcut."
|
|
932
|
+
},
|
|
933
|
+
"newShortcut": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"description": "The new shortcut active for this command, or blank if not active."
|
|
936
|
+
},
|
|
937
|
+
"oldShortcut": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"description": "The old shortcut which is no longer active for this command, or blank if the shortcut was previously inactive."
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
]
|
|
919
944
|
}
|
|
920
945
|
],
|
|
921
946
|
"functions": [
|
|
@@ -17534,6 +17559,13 @@
|
|
|
17534
17559
|
"description": "The maximum size (in bytes) of the managed storage JSON manifest file. Files larger than this limit will fail to load."
|
|
17535
17560
|
}
|
|
17536
17561
|
}
|
|
17562
|
+
},
|
|
17563
|
+
"session": {
|
|
17564
|
+
"allowedContexts": [
|
|
17565
|
+
"devtools"
|
|
17566
|
+
],
|
|
17567
|
+
"$ref": "StorageArea",
|
|
17568
|
+
"description": "Items in the <code>session</code> storage area are kept in memory, and only until the either browser or extension is closed or reloaded."
|
|
17537
17569
|
}
|
|
17538
17570
|
}
|
|
17539
17571
|
}
|
|
@@ -111,6 +111,31 @@
|
|
|
111
111
|
"type": "string"
|
|
112
112
|
}
|
|
113
113
|
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "onChanged",
|
|
117
|
+
"description": "Fired when a registered command's shortcut is changed.",
|
|
118
|
+
"type": "function",
|
|
119
|
+
"parameters": [
|
|
120
|
+
{
|
|
121
|
+
"type": "object",
|
|
122
|
+
"name": "changeInfo",
|
|
123
|
+
"properties": {
|
|
124
|
+
"name": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "The name of the shortcut."
|
|
127
|
+
},
|
|
128
|
+
"newShortcut": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "The new shortcut active for this command, or blank if not active."
|
|
131
|
+
},
|
|
132
|
+
"oldShortcut": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "The old shortcut which is no longer active for this command, or blank if the shortcut was previously inactive."
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
114
139
|
}
|
|
115
140
|
],
|
|
116
141
|
"functions": [
|
|
@@ -3067,7 +3092,8 @@
|
|
|
3067
3092
|
{
|
|
3068
3093
|
"type": "string",
|
|
3069
3094
|
"enum": [
|
|
3070
|
-
"addressBooks"
|
|
3095
|
+
"addressBooks",
|
|
3096
|
+
"sensitiveDataUpload"
|
|
3071
3097
|
]
|
|
3072
3098
|
}
|
|
3073
3099
|
]
|
|
@@ -4052,104 +4078,91 @@
|
|
|
4052
4078
|
{
|
|
4053
4079
|
"namespace": "manifest",
|
|
4054
4080
|
"types": [
|
|
4055
|
-
{
|
|
4056
|
-
"id": "ActionManifest",
|
|
4057
|
-
"type": "object",
|
|
4058
|
-
"additionalProperties": {
|
|
4059
|
-
"$ref": "UnrecognizedProperty"
|
|
4060
|
-
},
|
|
4061
|
-
"properties": {
|
|
4062
|
-
"default_label": {
|
|
4063
|
-
"type": "string",
|
|
4064
|
-
"description": "The label of the action button, defaults to its title. Can be set to an empty string to not display any label. If the containing toolbar is configured to display text only, the title will be used as fallback.",
|
|
4065
|
-
"optional": true,
|
|
4066
|
-
"preprocess": "localize"
|
|
4067
|
-
},
|
|
4068
|
-
"default_title": {
|
|
4069
|
-
"type": "string",
|
|
4070
|
-
"description": "The title of the action button. This shows up in the tooltip and the label. Defaults to the add-on name.",
|
|
4071
|
-
"optional": true,
|
|
4072
|
-
"preprocess": "localize"
|
|
4073
|
-
},
|
|
4074
|
-
"default_icon": {
|
|
4075
|
-
"$ref": "IconPath",
|
|
4076
|
-
"description": "The paths to one or more icons for the action button.",
|
|
4077
|
-
"optional": true
|
|
4078
|
-
},
|
|
4079
|
-
"theme_icons": {
|
|
4080
|
-
"type": "array",
|
|
4081
|
-
"optional": true,
|
|
4082
|
-
"minItems": 1,
|
|
4083
|
-
"items": {
|
|
4084
|
-
"$ref": "ThemeIcons"
|
|
4085
|
-
},
|
|
4086
|
-
"description": "Specifies dark and light icons to be used with themes. The ``light`` icon is used on dark backgrounds and vice versa. **Note:** The default theme uses the ``default_icon`` for light backgrounds (if specified)."
|
|
4087
|
-
},
|
|
4088
|
-
"default_popup": {
|
|
4089
|
-
"type": "string",
|
|
4090
|
-
"format": "relativeUrl",
|
|
4091
|
-
"optional": true,
|
|
4092
|
-
"description": "The html document to be opened as a popup when the user clicks on the action button.",
|
|
4093
|
-
"preprocess": "localize"
|
|
4094
|
-
},
|
|
4095
|
-
"browser_style": {
|
|
4096
|
-
"type": "boolean",
|
|
4097
|
-
"optional": true,
|
|
4098
|
-
"description": "Enable browser styles. See the `MDN documentation on browser styles <|link-mdn-browser-styles|>`__ for more information.",
|
|
4099
|
-
"default": false
|
|
4100
|
-
},
|
|
4101
|
-
"default_area": {
|
|
4102
|
-
"description": "Defines the location the action button will appear. This will always behave like <value>maintoolbar</value>. The <value>tabstoolbar</value> area should no longer be used.",
|
|
4103
|
-
"type": "string",
|
|
4104
|
-
"enum": [
|
|
4105
|
-
"maintoolbar",
|
|
4106
|
-
"tabstoolbar"
|
|
4107
|
-
],
|
|
4108
|
-
"optional": true
|
|
4109
|
-
},
|
|
4110
|
-
"default_windows": {
|
|
4111
|
-
"description": "Defines the windows, the action button should appear in. Defaults to showing it only in the <value>normal</value> Thunderbird window, but can also be shown in the <value>messageDisplay</value> window.",
|
|
4112
|
-
"type": "array",
|
|
4113
|
-
"items": {
|
|
4114
|
-
"type": "string",
|
|
4115
|
-
"enum": [
|
|
4116
|
-
"normal",
|
|
4117
|
-
"messageDisplay"
|
|
4118
|
-
]
|
|
4119
|
-
},
|
|
4120
|
-
"default": [
|
|
4121
|
-
"normal"
|
|
4122
|
-
],
|
|
4123
|
-
"optional": true
|
|
4124
|
-
},
|
|
4125
|
-
"allowed_spaces": {
|
|
4126
|
-
"description": "Defines the spaces, in which the action button can appear in the toolbar of the normal Thunderbird window. Defaults to only allowing the action in the <value>mail</value> space. The <value>default</value> space is for tabs that don't belong to any space. If this is an empty array, the action button is shown in all spaces.",
|
|
4127
|
-
"type": "array",
|
|
4128
|
-
"items": {
|
|
4129
|
-
"type": "string",
|
|
4130
|
-
"enum": [
|
|
4131
|
-
"mail",
|
|
4132
|
-
"addressbook",
|
|
4133
|
-
"calendar",
|
|
4134
|
-
"tasks",
|
|
4135
|
-
"chat",
|
|
4136
|
-
"settings",
|
|
4137
|
-
"default"
|
|
4138
|
-
]
|
|
4139
|
-
},
|
|
4140
|
-
"default": [
|
|
4141
|
-
"mail"
|
|
4142
|
-
],
|
|
4143
|
-
"optional": true
|
|
4144
|
-
}
|
|
4145
|
-
}
|
|
4146
|
-
},
|
|
4147
4081
|
{
|
|
4148
4082
|
"$extend": "WebExtensionManifest",
|
|
4149
4083
|
"properties": {
|
|
4150
4084
|
"action": {
|
|
4151
4085
|
"min_manifest_version": 3,
|
|
4152
|
-
"
|
|
4086
|
+
"type": "object",
|
|
4087
|
+
"additionalProperties": {
|
|
4088
|
+
"$ref": "UnrecognizedProperty"
|
|
4089
|
+
},
|
|
4090
|
+
"properties": {
|
|
4091
|
+
"default_label": {
|
|
4092
|
+
"type": "string",
|
|
4093
|
+
"description": "The label of the action button, defaults to its title. Can be set to an empty string to not display any label. If the containing toolbar is configured to display text only, the title will be used as fallback.",
|
|
4094
|
+
"optional": true,
|
|
4095
|
+
"preprocess": "localize"
|
|
4096
|
+
},
|
|
4097
|
+
"default_title": {
|
|
4098
|
+
"type": "string",
|
|
4099
|
+
"description": "The title of the action button. This shows up in the tooltip and the label. Defaults to the add-on name.",
|
|
4100
|
+
"optional": true,
|
|
4101
|
+
"preprocess": "localize"
|
|
4102
|
+
},
|
|
4103
|
+
"default_icon": {
|
|
4104
|
+
"$ref": "IconPath",
|
|
4105
|
+
"description": "The paths to one or more icons for the action button.",
|
|
4106
|
+
"optional": true
|
|
4107
|
+
},
|
|
4108
|
+
"theme_icons": {
|
|
4109
|
+
"type": "array",
|
|
4110
|
+
"optional": true,
|
|
4111
|
+
"minItems": 1,
|
|
4112
|
+
"items": {
|
|
4113
|
+
"$ref": "ThemeIcons"
|
|
4114
|
+
},
|
|
4115
|
+
"description": "Specifies dark and light icons to be used with themes. The ``light`` icon is used on dark backgrounds and vice versa. **Note:** The default theme uses the ``default_icon`` for light backgrounds (if specified)."
|
|
4116
|
+
},
|
|
4117
|
+
"default_popup": {
|
|
4118
|
+
"type": "string",
|
|
4119
|
+
"format": "relativeUrl",
|
|
4120
|
+
"optional": true,
|
|
4121
|
+
"description": "The html document to be opened as a popup when the user clicks on the action button.",
|
|
4122
|
+
"preprocess": "localize"
|
|
4123
|
+
},
|
|
4124
|
+
"browser_style": {
|
|
4125
|
+
"type": "boolean",
|
|
4126
|
+
"optional": true,
|
|
4127
|
+
"description": "Enable browser styles. See the `MDN documentation on browser styles <|link-mdn-browser-styles|>`__ for more information.",
|
|
4128
|
+
"default": false
|
|
4129
|
+
},
|
|
4130
|
+
"default_windows": {
|
|
4131
|
+
"description": "Defines the windows, the action button should appear in. Defaults to showing it only in the <value>normal</value> Thunderbird window, but can also be shown in the <value>messageDisplay</value> window.",
|
|
4132
|
+
"type": "array",
|
|
4133
|
+
"items": {
|
|
4134
|
+
"type": "string",
|
|
4135
|
+
"enum": [
|
|
4136
|
+
"normal",
|
|
4137
|
+
"messageDisplay"
|
|
4138
|
+
]
|
|
4139
|
+
},
|
|
4140
|
+
"default": [
|
|
4141
|
+
"normal"
|
|
4142
|
+
],
|
|
4143
|
+
"optional": true
|
|
4144
|
+
},
|
|
4145
|
+
"allowed_spaces": {
|
|
4146
|
+
"description": "Defines for which spaces the action button will be added to Thunderbird's unified toolbar. Defaults to only allowing the action in the <value>mail</value> space. The <value>default</value> space is for tabs that don't belong to any space. If this is an empty array, the action button is shown in all spaces.",
|
|
4147
|
+
"type": "array",
|
|
4148
|
+
"items": {
|
|
4149
|
+
"type": "string",
|
|
4150
|
+
"enum": [
|
|
4151
|
+
"mail",
|
|
4152
|
+
"addressbook",
|
|
4153
|
+
"calendar",
|
|
4154
|
+
"tasks",
|
|
4155
|
+
"chat",
|
|
4156
|
+
"settings",
|
|
4157
|
+
"default"
|
|
4158
|
+
]
|
|
4159
|
+
},
|
|
4160
|
+
"default": [
|
|
4161
|
+
"mail"
|
|
4162
|
+
],
|
|
4163
|
+
"optional": true
|
|
4164
|
+
}
|
|
4165
|
+
},
|
|
4153
4166
|
"optional": true
|
|
4154
4167
|
}
|
|
4155
4168
|
}
|
|
@@ -4159,7 +4172,95 @@
|
|
|
4159
4172
|
"properties": {
|
|
4160
4173
|
"browser_action": {
|
|
4161
4174
|
"max_manifest_version": 2,
|
|
4162
|
-
"
|
|
4175
|
+
"type": "object",
|
|
4176
|
+
"additionalProperties": {
|
|
4177
|
+
"$ref": "UnrecognizedProperty"
|
|
4178
|
+
},
|
|
4179
|
+
"properties": {
|
|
4180
|
+
"default_label": {
|
|
4181
|
+
"type": "string",
|
|
4182
|
+
"description": "The label of the browserAction button, defaults to its title. Can be set to an empty string to not display any label. If the containing toolbar is configured to display text only, the title will be used as fallback.",
|
|
4183
|
+
"optional": true,
|
|
4184
|
+
"preprocess": "localize"
|
|
4185
|
+
},
|
|
4186
|
+
"default_title": {
|
|
4187
|
+
"type": "string",
|
|
4188
|
+
"description": "The title of the browserAction button. This shows up in the tooltip and the label. Defaults to the add-on name.",
|
|
4189
|
+
"optional": true,
|
|
4190
|
+
"preprocess": "localize"
|
|
4191
|
+
},
|
|
4192
|
+
"default_icon": {
|
|
4193
|
+
"$ref": "IconPath",
|
|
4194
|
+
"description": "The paths to one or more icons for the browserAction button.",
|
|
4195
|
+
"optional": true
|
|
4196
|
+
},
|
|
4197
|
+
"theme_icons": {
|
|
4198
|
+
"type": "array",
|
|
4199
|
+
"optional": true,
|
|
4200
|
+
"minItems": 1,
|
|
4201
|
+
"items": {
|
|
4202
|
+
"$ref": "ThemeIcons"
|
|
4203
|
+
},
|
|
4204
|
+
"description": "Specifies dark and light icons to be used with themes. The ``light`` icon is used on dark backgrounds and vice versa. **Note:** The default theme uses the ``default_icon`` for light backgrounds (if specified)."
|
|
4205
|
+
},
|
|
4206
|
+
"default_popup": {
|
|
4207
|
+
"type": "string",
|
|
4208
|
+
"format": "relativeUrl",
|
|
4209
|
+
"optional": true,
|
|
4210
|
+
"description": "The html document to be opened as a popup when the user clicks on the browserAction button.",
|
|
4211
|
+
"preprocess": "localize"
|
|
4212
|
+
},
|
|
4213
|
+
"browser_style": {
|
|
4214
|
+
"type": "boolean",
|
|
4215
|
+
"optional": true,
|
|
4216
|
+
"description": "Enable browser styles. See the `MDN documentation on browser styles <|link-mdn-browser-styles|>`__ for more information.",
|
|
4217
|
+
"default": false
|
|
4218
|
+
},
|
|
4219
|
+
"default_area": {
|
|
4220
|
+
"description": "Defines the location the browserAction button will appear. Deprecated and ignored. Replaced by ``allowed_spaces``",
|
|
4221
|
+
"type": "string",
|
|
4222
|
+
"enum": [
|
|
4223
|
+
"maintoolbar",
|
|
4224
|
+
"tabstoolbar"
|
|
4225
|
+
],
|
|
4226
|
+
"optional": true
|
|
4227
|
+
},
|
|
4228
|
+
"default_windows": {
|
|
4229
|
+
"description": "Defines the windows, the browserAction button should appear in. Defaults to showing it only in the <value>normal</value> Thunderbird window, but can also be shown in the <value>messageDisplay</value> window.",
|
|
4230
|
+
"type": "array",
|
|
4231
|
+
"items": {
|
|
4232
|
+
"type": "string",
|
|
4233
|
+
"enum": [
|
|
4234
|
+
"normal",
|
|
4235
|
+
"messageDisplay"
|
|
4236
|
+
]
|
|
4237
|
+
},
|
|
4238
|
+
"default": [
|
|
4239
|
+
"normal"
|
|
4240
|
+
],
|
|
4241
|
+
"optional": true
|
|
4242
|
+
},
|
|
4243
|
+
"allowed_spaces": {
|
|
4244
|
+
"description": "Defines for which spaces the browserAction button will be added to Thunderbird's unified toolbar. Defaults to only allowing the browserAction in the <value>mail</value> space. The <value>default</value> space is for tabs that don't belong to any space. If this is an empty array, the browserAction button is shown in all spaces.",
|
|
4245
|
+
"type": "array",
|
|
4246
|
+
"items": {
|
|
4247
|
+
"type": "string",
|
|
4248
|
+
"enum": [
|
|
4249
|
+
"mail",
|
|
4250
|
+
"addressbook",
|
|
4251
|
+
"calendar",
|
|
4252
|
+
"tasks",
|
|
4253
|
+
"chat",
|
|
4254
|
+
"settings",
|
|
4255
|
+
"default"
|
|
4256
|
+
]
|
|
4257
|
+
},
|
|
4258
|
+
"default": [
|
|
4259
|
+
"mail"
|
|
4260
|
+
],
|
|
4261
|
+
"optional": true
|
|
4262
|
+
}
|
|
4263
|
+
},
|
|
4163
4264
|
"optional": true
|
|
4164
4265
|
}
|
|
4165
4266
|
}
|
|
@@ -4168,7 +4269,7 @@
|
|
|
4168
4269
|
},
|
|
4169
4270
|
{
|
|
4170
4271
|
"namespace": "action",
|
|
4171
|
-
"description": "Use
|
|
4272
|
+
"description": "Use the action API to add a button to Thunderbird's unified toolbar. In addition to its icon, an action button can also have a tooltip, a badge, and a popup.",
|
|
4172
4273
|
"permissions": [
|
|
4173
4274
|
"manifest:action",
|
|
4174
4275
|
"manifest:browser_action"
|
|
@@ -4827,6 +4928,7 @@
|
|
|
4827
4928
|
},
|
|
4828
4929
|
{
|
|
4829
4930
|
"namespace": "browserAction",
|
|
4931
|
+
"description": "Use the browserAction API to add a button to Thunderbird's unified toolbar. In addition to its icon, a browserAction button can also have a tooltip, a badge, and a popup.",
|
|
4830
4932
|
"permissions": [
|
|
4831
4933
|
"manifest:action",
|
|
4832
4934
|
"manifest:browser_action"
|
|
@@ -5691,17 +5793,16 @@
|
|
|
5691
5793
|
"optional": true
|
|
5692
5794
|
},
|
|
5693
5795
|
"newsgroups": {
|
|
5796
|
+
"description": "A single newsgroup name or an array of newsgroup names.",
|
|
5694
5797
|
"choices": [
|
|
5695
5798
|
{
|
|
5696
|
-
"type": "string"
|
|
5697
|
-
"description": "A newsgroup name."
|
|
5799
|
+
"type": "string"
|
|
5698
5800
|
},
|
|
5699
5801
|
{
|
|
5700
5802
|
"type": "array",
|
|
5701
5803
|
"items": {
|
|
5702
5804
|
"type": "string"
|
|
5703
|
-
}
|
|
5704
|
-
"description": "An array of newsgroup names."
|
|
5805
|
+
}
|
|
5705
5806
|
}
|
|
5706
5807
|
],
|
|
5707
5808
|
"optional": true
|
|
@@ -7164,7 +7265,7 @@
|
|
|
7164
7265
|
{
|
|
7165
7266
|
"name": "enable",
|
|
7166
7267
|
"type": "function",
|
|
7167
|
-
"description": "Enables the composeAction button for a tab. By default, a composeAction button is enabled.",
|
|
7268
|
+
"description": "Enables the composeAction button for a specific tab (if a ``tabId`` is provided), or for all tabs which do not have a custom enable state. Once the enable state of a tab has been updated individually, all further changes to its state have to be done individually as well. By default, a composeAction button is enabled.",
|
|
7168
7269
|
"async": "callback",
|
|
7169
7270
|
"parameters": [
|
|
7170
7271
|
{
|
|
@@ -7185,7 +7286,7 @@
|
|
|
7185
7286
|
{
|
|
7186
7287
|
"name": "disable",
|
|
7187
7288
|
"type": "function",
|
|
7188
|
-
"description": "Disables the composeAction button for a tab.",
|
|
7289
|
+
"description": "Disables the composeAction button for a specific tab (if a ``tabId`` is provided), or for all tabs which do not have a custom enable state. Once the enable state of a tab has been updated individually, all further changes to its state have to be done individually as well.",
|
|
7189
7290
|
"async": "callback",
|
|
7190
7291
|
"parameters": [
|
|
7191
7292
|
{
|
|
@@ -7303,7 +7404,8 @@
|
|
|
7303
7404
|
{
|
|
7304
7405
|
"type": "string",
|
|
7305
7406
|
"enum": [
|
|
7306
|
-
"messagesModify"
|
|
7407
|
+
"messagesModify",
|
|
7408
|
+
"sensitiveDataUpload"
|
|
7307
7409
|
]
|
|
7308
7410
|
}
|
|
7309
7411
|
]
|
|
@@ -8368,7 +8470,7 @@
|
|
|
8368
8470
|
"properties": {
|
|
8369
8471
|
"displayedFolder": {
|
|
8370
8472
|
"$ref": "folders.MailFolder",
|
|
8371
|
-
"description": "Sets the folder displayed in the tab. The extension must have the <permission>accountsRead</permission> permission to do this.",
|
|
8473
|
+
"description": "Sets the folder displayed in the tab. The extension must have the <permission>accountsRead</permission> permission to do this. The previous message selection in the given folder will be restored.",
|
|
8372
8474
|
"optional": true
|
|
8373
8475
|
},
|
|
8374
8476
|
"sortType": {
|
|
@@ -8633,7 +8735,7 @@
|
|
|
8633
8735
|
"permissions": [
|
|
8634
8736
|
"menus"
|
|
8635
8737
|
],
|
|
8636
|
-
"description": "The menus API allows to add items to
|
|
8738
|
+
"description": "The menus API allows to add items to Thunderbird's menus. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages.",
|
|
8637
8739
|
"properties": {
|
|
8638
8740
|
"ACTION_MENU_TOP_LEVEL_LIMIT": {
|
|
8639
8741
|
"value": 6,
|
|
@@ -9105,9 +9207,19 @@
|
|
|
9105
9207
|
"description": "Whether this context menu item is enabled or disabled. Defaults to true."
|
|
9106
9208
|
},
|
|
9107
9209
|
"command": {
|
|
9108
|
-
"type": "string",
|
|
9109
9210
|
"optional": true,
|
|
9110
|
-
"
|
|
9211
|
+
"choices": [
|
|
9212
|
+
{
|
|
9213
|
+
"type": "string",
|
|
9214
|
+
"max_manifest_version": 2,
|
|
9215
|
+
"description": "Specifies a command to issue for the context click. Currently supports internal commands <value>_execute_browser_action</value>, <value>_execute_compose_action</value> and <value>_execute_message_display_action</value>."
|
|
9216
|
+
},
|
|
9217
|
+
{
|
|
9218
|
+
"type": "string",
|
|
9219
|
+
"min_manifest_version": 3,
|
|
9220
|
+
"description": "Specifies a command to issue for the context click. Currently supports internal commands <value>_execute_action</value>, <value>_execute_compose_action</value> and <value>_execute_message_display_action</value>."
|
|
9221
|
+
}
|
|
9222
|
+
]
|
|
9111
9223
|
}
|
|
9112
9224
|
}
|
|
9113
9225
|
},
|
|
@@ -10163,7 +10275,7 @@
|
|
|
10163
10275
|
{
|
|
10164
10276
|
"name": "enable",
|
|
10165
10277
|
"type": "function",
|
|
10166
|
-
"description": "Enables the messageDisplayAction button for a tab. By default, a messageDisplayAction button is enabled.",
|
|
10278
|
+
"description": "Enables the messageDisplayAction button for a specific tab (if a ``tabId`` is provided), or for all tabs which do not have a custom enable state. Once the enable state of a tab has been updated individually, all further changes to its state have to be done individually as well. By default, a messageDisplayAction button is enabled.",
|
|
10167
10279
|
"async": "callback",
|
|
10168
10280
|
"parameters": [
|
|
10169
10281
|
{
|
|
@@ -10184,7 +10296,7 @@
|
|
|
10184
10296
|
{
|
|
10185
10297
|
"name": "disable",
|
|
10186
10298
|
"type": "function",
|
|
10187
|
-
"description": "Disables the messageDisplayAction button for a tab.",
|
|
10299
|
+
"description": "Disables the messageDisplayAction button for a specific tab (if a ``tabId`` is provided), or for all tabs which do not have a custom enable state. Once the enable state of a tab has been updated individually, all further changes to its state have to be done individually as well.",
|
|
10188
10300
|
"async": "callback",
|
|
10189
10301
|
"parameters": [
|
|
10190
10302
|
{
|
|
@@ -10306,7 +10418,8 @@
|
|
|
10306
10418
|
"messagesImport",
|
|
10307
10419
|
"messagesMove",
|
|
10308
10420
|
"messagesRead",
|
|
10309
|
-
"messagesTags"
|
|
10421
|
+
"messagesTags",
|
|
10422
|
+
"sensitiveDataUpload"
|
|
10310
10423
|
]
|
|
10311
10424
|
}
|
|
10312
10425
|
]
|
|
@@ -11228,7 +11341,6 @@
|
|
|
11228
11341
|
"spaces.json": [
|
|
11229
11342
|
{
|
|
11230
11343
|
"namespace": "spaces",
|
|
11231
|
-
"min_manifest_version": 3,
|
|
11232
11344
|
"types": [
|
|
11233
11345
|
{
|
|
11234
11346
|
"id": "SpaceButtonProperties",
|
|
@@ -11289,6 +11401,35 @@
|
|
|
11289
11401
|
},
|
|
11290
11402
|
"minItems": 4,
|
|
11291
11403
|
"maxItems": 4
|
|
11404
|
+
},
|
|
11405
|
+
{
|
|
11406
|
+
"id": "Space",
|
|
11407
|
+
"type": "object",
|
|
11408
|
+
"properties": {
|
|
11409
|
+
"id": {
|
|
11410
|
+
"type": "integer",
|
|
11411
|
+
"description": "The id of the space.",
|
|
11412
|
+
"minimum": 1
|
|
11413
|
+
},
|
|
11414
|
+
"name": {
|
|
11415
|
+
"type": "string",
|
|
11416
|
+
"pattern": "^[a-zA-Z0-9_]+$",
|
|
11417
|
+
"description": "The name of the space. Names are unique for a single extension, but different extensions may use the same name."
|
|
11418
|
+
},
|
|
11419
|
+
"isBuiltIn": {
|
|
11420
|
+
"type": "boolean",
|
|
11421
|
+
"description": "Whether this space is one of the default Thunderbird spaces, or an extension space."
|
|
11422
|
+
},
|
|
11423
|
+
"isSelfOwned": {
|
|
11424
|
+
"type": "boolean",
|
|
11425
|
+
"description": "Whether this space was created by this extension."
|
|
11426
|
+
},
|
|
11427
|
+
"extensionId": {
|
|
11428
|
+
"type": "string",
|
|
11429
|
+
"optional": true,
|
|
11430
|
+
"description": "The id of the extension which owns the space. The <permission>management</permission> permission is required to include this property."
|
|
11431
|
+
}
|
|
11432
|
+
}
|
|
11292
11433
|
}
|
|
11293
11434
|
],
|
|
11294
11435
|
"functions": [
|
|
@@ -11296,13 +11437,13 @@
|
|
|
11296
11437
|
"name": "create",
|
|
11297
11438
|
"type": "function",
|
|
11298
11439
|
"description": "Creates a new space and adds its button to the spaces toolbar.",
|
|
11299
|
-
"async":
|
|
11440
|
+
"async": "callback",
|
|
11300
11441
|
"parameters": [
|
|
11301
11442
|
{
|
|
11302
|
-
"name": "
|
|
11443
|
+
"name": "name",
|
|
11303
11444
|
"type": "string",
|
|
11304
11445
|
"pattern": "^[a-zA-Z0-9_]+$",
|
|
11305
|
-
"description": "The
|
|
11446
|
+
"description": "The name to assign to this space. May only contain alphanumeric characters and underscores. Must be unique for this extension."
|
|
11306
11447
|
},
|
|
11307
11448
|
{
|
|
11308
11449
|
"name": "defaultUrl",
|
|
@@ -11315,6 +11456,98 @@
|
|
|
11315
11456
|
"$ref": "spaces.SpaceButtonProperties",
|
|
11316
11457
|
"optional": true,
|
|
11317
11458
|
"default": {}
|
|
11459
|
+
},
|
|
11460
|
+
{
|
|
11461
|
+
"type": "function",
|
|
11462
|
+
"name": "callback",
|
|
11463
|
+
"optional": true,
|
|
11464
|
+
"parameters": [
|
|
11465
|
+
{
|
|
11466
|
+
"name": "space",
|
|
11467
|
+
"$ref": "spaces.Space"
|
|
11468
|
+
}
|
|
11469
|
+
]
|
|
11470
|
+
}
|
|
11471
|
+
]
|
|
11472
|
+
},
|
|
11473
|
+
{
|
|
11474
|
+
"name": "get",
|
|
11475
|
+
"type": "function",
|
|
11476
|
+
"description": "Retrieves details about the specified space.",
|
|
11477
|
+
"async": "callback",
|
|
11478
|
+
"parameters": [
|
|
11479
|
+
{
|
|
11480
|
+
"name": "spaceId",
|
|
11481
|
+
"type": "integer",
|
|
11482
|
+
"description": "The id of the space.",
|
|
11483
|
+
"minimum": 1
|
|
11484
|
+
},
|
|
11485
|
+
{
|
|
11486
|
+
"type": "function",
|
|
11487
|
+
"name": "callback",
|
|
11488
|
+
"optional": true,
|
|
11489
|
+
"parameters": [
|
|
11490
|
+
{
|
|
11491
|
+
"name": "space",
|
|
11492
|
+
"$ref": "spaces.Space"
|
|
11493
|
+
}
|
|
11494
|
+
]
|
|
11495
|
+
}
|
|
11496
|
+
]
|
|
11497
|
+
},
|
|
11498
|
+
{
|
|
11499
|
+
"name": "query",
|
|
11500
|
+
"type": "function",
|
|
11501
|
+
"description": "Gets all spaces that have the specified properties, or all spaces if no properties are specified.",
|
|
11502
|
+
"async": "callback",
|
|
11503
|
+
"parameters": [
|
|
11504
|
+
{
|
|
11505
|
+
"type": "object",
|
|
11506
|
+
"name": "queryInfo",
|
|
11507
|
+
"optional": true,
|
|
11508
|
+
"default": {},
|
|
11509
|
+
"properties": {
|
|
11510
|
+
"id": {
|
|
11511
|
+
"type": "integer",
|
|
11512
|
+
"description": "The id of the space.",
|
|
11513
|
+
"optional": true,
|
|
11514
|
+
"minimum": 1
|
|
11515
|
+
},
|
|
11516
|
+
"name": {
|
|
11517
|
+
"type": "string",
|
|
11518
|
+
"pattern": "^[a-zA-Z0-9_]+$",
|
|
11519
|
+
"optional": true,
|
|
11520
|
+
"description": "The name of the spaces (names are not unique)."
|
|
11521
|
+
},
|
|
11522
|
+
"isBuiltIn": {
|
|
11523
|
+
"type": "boolean",
|
|
11524
|
+
"optional": true,
|
|
11525
|
+
"description": "Spaces should be default Thunderbird spaces."
|
|
11526
|
+
},
|
|
11527
|
+
"isSelfOwned": {
|
|
11528
|
+
"type": "boolean",
|
|
11529
|
+
"optional": true,
|
|
11530
|
+
"description": "Spaces should have been created by this extension."
|
|
11531
|
+
},
|
|
11532
|
+
"extensionId": {
|
|
11533
|
+
"type": "string",
|
|
11534
|
+
"optional": true,
|
|
11535
|
+
"description": "Id of the extension which should own the spaces. The <permission>management</permission> permission is required to be able to match against extension ids."
|
|
11536
|
+
}
|
|
11537
|
+
}
|
|
11538
|
+
},
|
|
11539
|
+
{
|
|
11540
|
+
"type": "function",
|
|
11541
|
+
"name": "callback",
|
|
11542
|
+
"parameters": [
|
|
11543
|
+
{
|
|
11544
|
+
"name": "result",
|
|
11545
|
+
"type": "array",
|
|
11546
|
+
"items": {
|
|
11547
|
+
"$ref": "spaces.Space"
|
|
11548
|
+
}
|
|
11549
|
+
}
|
|
11550
|
+
]
|
|
11318
11551
|
}
|
|
11319
11552
|
]
|
|
11320
11553
|
},
|
|
@@ -11325,10 +11558,10 @@
|
|
|
11325
11558
|
"async": true,
|
|
11326
11559
|
"parameters": [
|
|
11327
11560
|
{
|
|
11328
|
-
"name": "
|
|
11329
|
-
"type": "
|
|
11330
|
-
"
|
|
11331
|
-
"
|
|
11561
|
+
"name": "spaceId",
|
|
11562
|
+
"type": "integer",
|
|
11563
|
+
"description": "The id of the space.",
|
|
11564
|
+
"minimum": 1
|
|
11332
11565
|
}
|
|
11333
11566
|
]
|
|
11334
11567
|
},
|
|
@@ -11340,9 +11573,9 @@
|
|
|
11340
11573
|
"parameters": [
|
|
11341
11574
|
{
|
|
11342
11575
|
"name": "spaceId",
|
|
11343
|
-
"type": "
|
|
11344
|
-
"description": "The id of the space
|
|
11345
|
-
"
|
|
11576
|
+
"type": "integer",
|
|
11577
|
+
"description": "The id of the space.",
|
|
11578
|
+
"minimum": 1
|
|
11346
11579
|
},
|
|
11347
11580
|
{
|
|
11348
11581
|
"name": "defaultUrl",
|
|
@@ -11366,9 +11599,9 @@
|
|
|
11366
11599
|
"parameters": [
|
|
11367
11600
|
{
|
|
11368
11601
|
"name": "spaceId",
|
|
11369
|
-
"type": "
|
|
11370
|
-
"description": "The id of the space.
|
|
11371
|
-
"
|
|
11602
|
+
"type": "integer",
|
|
11603
|
+
"description": "The id of the space.",
|
|
11604
|
+
"minimum": 1
|
|
11372
11605
|
},
|
|
11373
11606
|
{
|
|
11374
11607
|
"name": "windowId",
|
|
@@ -11384,7 +11617,7 @@
|
|
|
11384
11617
|
"parameters": [
|
|
11385
11618
|
{
|
|
11386
11619
|
"name": "tab",
|
|
11387
|
-
"$ref": "Tab",
|
|
11620
|
+
"$ref": "tabs.Tab",
|
|
11388
11621
|
"optional": true,
|
|
11389
11622
|
"description": "Details about the opened or activated space tab."
|
|
11390
11623
|
}
|
|
@@ -11471,7 +11704,7 @@
|
|
|
11471
11704
|
"name": "addButton",
|
|
11472
11705
|
"type": "function",
|
|
11473
11706
|
"description": "Adds a new button to the spaces toolbar. Throws an exception, if the used ``id`` is not unique within the extension.",
|
|
11474
|
-
"async":
|
|
11707
|
+
"async": "callback",
|
|
11475
11708
|
"parameters": [
|
|
11476
11709
|
{
|
|
11477
11710
|
"name": "id",
|
|
@@ -11483,6 +11716,20 @@
|
|
|
11483
11716
|
"name": "properties",
|
|
11484
11717
|
"description": "Properties of the new button. The ``url`` is mandatory.",
|
|
11485
11718
|
"$ref": "spacesToolbar.ButtonProperties"
|
|
11719
|
+
},
|
|
11720
|
+
{
|
|
11721
|
+
"type": "function",
|
|
11722
|
+
"name": "callback",
|
|
11723
|
+
"optional": true,
|
|
11724
|
+
"parameters": [
|
|
11725
|
+
{
|
|
11726
|
+
"name": "spaceId",
|
|
11727
|
+
"type": "integer",
|
|
11728
|
+
"description": "The id of the space belonging to the newly created button, as used by the tabs API.",
|
|
11729
|
+
"minimum": 1,
|
|
11730
|
+
"optional": true
|
|
11731
|
+
}
|
|
11732
|
+
]
|
|
11486
11733
|
}
|
|
11487
11734
|
]
|
|
11488
11735
|
},
|
|
@@ -11545,7 +11792,7 @@
|
|
|
11545
11792
|
"parameters": [
|
|
11546
11793
|
{
|
|
11547
11794
|
"name": "tab",
|
|
11548
|
-
"$ref": "Tab",
|
|
11795
|
+
"$ref": "tabs.Tab",
|
|
11549
11796
|
"optional": true,
|
|
11550
11797
|
"description": "Details about the opened or activated tab."
|
|
11551
11798
|
}
|
|
@@ -11663,6 +11910,11 @@
|
|
|
11663
11910
|
"optional": true,
|
|
11664
11911
|
"description": "The height of the tab in pixels."
|
|
11665
11912
|
},
|
|
11913
|
+
"cookieStoreId": {
|
|
11914
|
+
"type": "string",
|
|
11915
|
+
"optional": true,
|
|
11916
|
+
"description": "The `CookieStore <|link-cookieStore|>`__ id used by the tab. Either a custom id created using the `contextualIdentities API <|link-contextualIdentity|>`__, or a built-in one: <value>firefox-default</value>, <value>firefox-container-1</value>, <value>firefox-container-2</value>, <value>firefox-container-3</value>, <value>firefox-container-4</value>, <value>firefox-container-5</value>. **Note:** The naming pattern was deliberately not changed for Thunderbird, but kept for compatibility reasons."
|
|
11917
|
+
},
|
|
11666
11918
|
"type": {
|
|
11667
11919
|
"type": "string",
|
|
11668
11920
|
"enum": [
|
|
@@ -11684,6 +11936,12 @@
|
|
|
11684
11936
|
"type": "boolean",
|
|
11685
11937
|
"optional": true,
|
|
11686
11938
|
"description": "Whether the tab is a 3-pane tab."
|
|
11939
|
+
},
|
|
11940
|
+
"spaceId": {
|
|
11941
|
+
"type": "integer",
|
|
11942
|
+
"description": "The id of the space.",
|
|
11943
|
+
"minimum": 1,
|
|
11944
|
+
"optional": true
|
|
11687
11945
|
}
|
|
11688
11946
|
}
|
|
11689
11947
|
},
|
|
@@ -11912,6 +12170,11 @@
|
|
|
11912
12170
|
"optional": true,
|
|
11913
12171
|
"description": "Whether the tab should become the active tab in the window. Does not affect whether the window is focused (see :ref:`windows.update`). Defaults to <value>true</value>."
|
|
11914
12172
|
},
|
|
12173
|
+
"cookieStoreId": {
|
|
12174
|
+
"type": "string",
|
|
12175
|
+
"optional": true,
|
|
12176
|
+
"description": "The `CookieStore <|link-cookieStore|>`__ id the new tab should use. Either a custom id created using the `contextualIdentities API <|link-contextualIdentity|>`__, or a built-in one: <value>firefox-default</value>, <value>firefox-container-1</value>, <value>firefox-container-2</value>, <value>firefox-container-3</value>, <value>firefox-container-4</value>, <value>firefox-container-5</value>. **Note:** The naming pattern was deliberately not changed for Thunderbird, but kept for compatibility reasons."
|
|
12177
|
+
},
|
|
11915
12178
|
"selected": {
|
|
11916
12179
|
"deprecated": "Please use ``createProperties.active``.",
|
|
11917
12180
|
"unsupported": true,
|
|
@@ -11980,6 +12243,12 @@
|
|
|
11980
12243
|
"optional": true,
|
|
11981
12244
|
"description": "Whether the tab is a Thunderbird 3-pane tab."
|
|
11982
12245
|
},
|
|
12246
|
+
"spaceId": {
|
|
12247
|
+
"type": "integer",
|
|
12248
|
+
"description": "The id of the space the tabs should belong to.",
|
|
12249
|
+
"minimum": 1,
|
|
12250
|
+
"optional": true
|
|
12251
|
+
},
|
|
11983
12252
|
"type": {
|
|
11984
12253
|
"type": "string",
|
|
11985
12254
|
"optional": true,
|
|
@@ -12046,6 +12315,21 @@
|
|
|
12046
12315
|
"optional": true,
|
|
12047
12316
|
"minimum": 0,
|
|
12048
12317
|
"description": "The position of the tabs within their windows."
|
|
12318
|
+
},
|
|
12319
|
+
"cookieStoreId": {
|
|
12320
|
+
"choices": [
|
|
12321
|
+
{
|
|
12322
|
+
"type": "array",
|
|
12323
|
+
"items": {
|
|
12324
|
+
"type": "string"
|
|
12325
|
+
}
|
|
12326
|
+
},
|
|
12327
|
+
{
|
|
12328
|
+
"type": "string"
|
|
12329
|
+
}
|
|
12330
|
+
],
|
|
12331
|
+
"optional": true,
|
|
12332
|
+
"description": "The `CookieStore <|link-cookieStore|>`__ id(s) used by the tabs. Either custom ids created using the `contextualIdentities API <|link-contextualIdentity|>`__, or built-in ones: <value>firefox-default</value>, <value>firefox-container-1</value>, <value>firefox-container-2</value>, <value>firefox-container-3</value>, <value>firefox-container-4</value>, <value>firefox-container-5</value>. **Note:** The naming pattern was deliberately not changed for Thunderbird, but kept for compatibility reasons."
|
|
12049
12333
|
}
|
|
12050
12334
|
}
|
|
12051
12335
|
},
|
|
@@ -12847,6 +13131,11 @@
|
|
|
12847
13131
|
"optional": true,
|
|
12848
13132
|
"description": "Allow scripts running inside the window to close the window by calling <code>window.close()</code>."
|
|
12849
13133
|
},
|
|
13134
|
+
"cookieStoreId": {
|
|
13135
|
+
"type": "string",
|
|
13136
|
+
"optional": true,
|
|
13137
|
+
"description": "The CookieStoreId to use for all tabs that were created when the window is opened."
|
|
13138
|
+
},
|
|
12850
13139
|
"titlePreface": {
|
|
12851
13140
|
"type": "string",
|
|
12852
13141
|
"optional": true,
|
|
@@ -4029,7 +4029,7 @@
|
|
|
4029
4029
|
"browser_style": {
|
|
4030
4030
|
"type": "boolean",
|
|
4031
4031
|
"optional": true,
|
|
4032
|
-
"
|
|
4032
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
4033
4033
|
},
|
|
4034
4034
|
"default_panel": {
|
|
4035
4035
|
"type": "string",
|
|
@@ -7652,7 +7652,7 @@
|
|
|
7652
7652
|
"browser_style": {
|
|
7653
7653
|
"type": "boolean",
|
|
7654
7654
|
"optional": true,
|
|
7655
|
-
"
|
|
7655
|
+
"description": "Deprecated in Manifest V3."
|
|
7656
7656
|
},
|
|
7657
7657
|
"default_area": {
|
|
7658
7658
|
"description": "Defines the location the browserAction will appear by default. The default location is navbar.",
|
|
@@ -13684,11 +13684,13 @@
|
|
|
13684
13684
|
"browser_style": {
|
|
13685
13685
|
"type": "boolean",
|
|
13686
13686
|
"optional": true,
|
|
13687
|
-
"
|
|
13687
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
13688
13688
|
},
|
|
13689
13689
|
"chrome_style": {
|
|
13690
13690
|
"type": "boolean",
|
|
13691
|
-
"optional": true
|
|
13691
|
+
"optional": true,
|
|
13692
|
+
"max_manifest_version": 2,
|
|
13693
|
+
"description": "chrome_style is ignored in Firefox. Its replacement (browser_style) has been deprecated."
|
|
13692
13694
|
},
|
|
13693
13695
|
"open_in_tab": {
|
|
13694
13696
|
"type": "boolean",
|
|
@@ -13696,8 +13698,7 @@
|
|
|
13696
13698
|
}
|
|
13697
13699
|
},
|
|
13698
13700
|
"additionalProperties": {
|
|
13699
|
-
"
|
|
13700
|
-
"deprecated": "An unexpected property was found in the WebExtension manifest"
|
|
13701
|
+
"$ref": "UnrecognizedProperty"
|
|
13701
13702
|
}
|
|
13702
13703
|
},
|
|
13703
13704
|
"content_scripts": {
|
|
@@ -13793,13 +13794,11 @@
|
|
|
13793
13794
|
"min_manifest_version": 3,
|
|
13794
13795
|
"type": "array",
|
|
13795
13796
|
"postprocess": "webAccessibleMatching",
|
|
13796
|
-
"minItems": 1,
|
|
13797
13797
|
"items": {
|
|
13798
13798
|
"type": "object",
|
|
13799
13799
|
"properties": {
|
|
13800
13800
|
"resources": {
|
|
13801
13801
|
"type": "array",
|
|
13802
|
-
"minItems": 1,
|
|
13803
13802
|
"items": {
|
|
13804
13803
|
"type": "string"
|
|
13805
13804
|
}
|
|
@@ -13807,7 +13806,6 @@
|
|
|
13807
13806
|
"matches": {
|
|
13808
13807
|
"optional": true,
|
|
13809
13808
|
"type": "array",
|
|
13810
|
-
"minItems": 1,
|
|
13811
13809
|
"items": {
|
|
13812
13810
|
"$ref": "MatchPattern"
|
|
13813
13811
|
}
|
|
@@ -13829,6 +13827,9 @@
|
|
|
13829
13827
|
]
|
|
13830
13828
|
}
|
|
13831
13829
|
}
|
|
13830
|
+
},
|
|
13831
|
+
"additionalProperties": {
|
|
13832
|
+
"$ref": "UnrecognizedProperty"
|
|
13832
13833
|
}
|
|
13833
13834
|
}
|
|
13834
13835
|
}
|
|
@@ -14958,7 +14959,7 @@
|
|
|
14958
14959
|
"browser_style": {
|
|
14959
14960
|
"type": "boolean",
|
|
14960
14961
|
"optional": true,
|
|
14961
|
-
"
|
|
14962
|
+
"description": "Deprecated in Manifest V3."
|
|
14962
14963
|
},
|
|
14963
14964
|
"show_matches": {
|
|
14964
14965
|
"type": "array",
|