webext-schema 5.5.7 → 5.6.1
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/modules/schema.js +2 -2
- package/modules/update.js +11 -10
- package/package.json +25 -25
- package/schemas/beta/webext.json +71 -7
- package/schemas/central/webext.json +117 -7
- package/schemas/esr/webext.json +341 -497
- package/schemas/mail/mailext.json +313 -162
- package/schemas/release/webext.json +422 -6
- package/types/modules/update.d.ts +1 -1
|
@@ -893,6 +893,28 @@
|
|
|
893
893
|
"description": "Message localized for current locale."
|
|
894
894
|
}
|
|
895
895
|
},
|
|
896
|
+
{
|
|
897
|
+
"name": "getPreferredSystemLanguages",
|
|
898
|
+
"type": "function",
|
|
899
|
+
"async": "callback",
|
|
900
|
+
"description": "Gets the preferred locales of the operating system. This is different from the locales set in the browser; to get those, use $(ref:i18n.getAcceptLanguages).",
|
|
901
|
+
"parameters": [
|
|
902
|
+
{
|
|
903
|
+
"type": "function",
|
|
904
|
+
"name": "callback",
|
|
905
|
+
"parameters": [
|
|
906
|
+
{
|
|
907
|
+
"name": "languages",
|
|
908
|
+
"type": "array",
|
|
909
|
+
"items": {
|
|
910
|
+
"$ref": "LanguageCode"
|
|
911
|
+
},
|
|
912
|
+
"description": "Array of LanguageCode"
|
|
913
|
+
}
|
|
914
|
+
]
|
|
915
|
+
}
|
|
916
|
+
]
|
|
917
|
+
},
|
|
896
918
|
{
|
|
897
919
|
"name": "getUILanguage",
|
|
898
920
|
"type": "function",
|
|
@@ -2610,7 +2632,7 @@
|
|
|
2610
2632
|
"choices": [
|
|
2611
2633
|
{
|
|
2612
2634
|
"type": "string",
|
|
2613
|
-
"description": "A string containing a valid
|
|
2635
|
+
"description": "A string containing a valid $(url:css-color-string)[CSS color string], including hexadecimal or functional representations. For example the color *crimson* can be specified as: <li><var>crimson</var> <li><var>#dc143c</var> <li><var>rgb(220, 20, 60)</var> (or <var>rgba(220, 20, 60, 0.5)</var> to set 50% opacity) <li><var>hsl(348, 83%, 47%)</var> (or <var>hsla(348, 83%, 47%, 0.5)</var> to set 50% opacity)"
|
|
2614
2636
|
},
|
|
2615
2637
|
{
|
|
2616
2638
|
"type": "array",
|
|
@@ -2641,13 +2663,13 @@
|
|
|
2641
2663
|
"properties": {
|
|
2642
2664
|
"stylesheet": {
|
|
2643
2665
|
"optional": true,
|
|
2644
|
-
"description": "URL to a stylesheet introducing additional CSS variables, extending the theme-able areas of Thunderbird.
|
|
2666
|
+
"description": "URL to a stylesheet introducing additional CSS variables, extending the theme-able areas of Thunderbird.",
|
|
2645
2667
|
"$ref": "ExtensionURL"
|
|
2646
2668
|
},
|
|
2647
2669
|
"images": {
|
|
2648
2670
|
"type": "object",
|
|
2649
2671
|
"optional": true,
|
|
2650
|
-
"description": "A <em>dictionary object</em> with one or more <em>key-value</em> pairs to map new theme image keys to internal Thunderbird CSS image variables. The new image key is usable as an image reference in $(ref:theme.ThemeType).
|
|
2672
|
+
"description": "A <em>dictionary object</em> with one or more <em>key-value</em> pairs to map new theme image keys to internal Thunderbird CSS image variables. The new image key is usable as an image reference in $(ref:theme.ThemeType).",
|
|
2651
2673
|
"additionalProperties": {
|
|
2652
2674
|
"type": "string"
|
|
2653
2675
|
}
|
|
@@ -2655,7 +2677,7 @@
|
|
|
2655
2677
|
"colors": {
|
|
2656
2678
|
"type": "object",
|
|
2657
2679
|
"optional": true,
|
|
2658
|
-
"description": "A <em>dictionary object</em> with one or more <em>key-value</em> pairs to map new theme color keys to internal Thunderbird CSS color variables. The
|
|
2680
|
+
"description": "A <em>dictionary object</em> with one or more <em>key-value</em> pairs to map new theme color keys to internal Thunderbird CSS color variables. The new color key is usable as a color reference in $(ref:theme.ThemeType).",
|
|
2659
2681
|
"additionalProperties": {
|
|
2660
2682
|
"type": "string"
|
|
2661
2683
|
}
|
|
@@ -2663,7 +2685,7 @@
|
|
|
2663
2685
|
"properties": {
|
|
2664
2686
|
"type": "object",
|
|
2665
2687
|
"optional": true,
|
|
2666
|
-
"description": "A <em>dictionary object</em> with one or more <em>key-value</em> pairs to map new theme property keys to internal Thunderbird CSS property variables. The new property key is usable as a property reference in $(ref:theme.ThemeType).
|
|
2688
|
+
"description": "A <em>dictionary object</em> with one or more <em>key-value</em> pairs to map new theme property keys to internal Thunderbird CSS property variables. The new property key is usable as a property reference in $(ref:theme.ThemeType).",
|
|
2667
2689
|
"additionalProperties": {
|
|
2668
2690
|
"type": "string"
|
|
2669
2691
|
}
|
|
@@ -3005,12 +3027,13 @@
|
|
|
3005
3027
|
"$import": "manifest.ManifestBase",
|
|
3006
3028
|
"properties": {
|
|
3007
3029
|
"theme": {
|
|
3008
|
-
"$ref": "ThemeType"
|
|
3030
|
+
"$ref": "ThemeType",
|
|
3031
|
+
"description": "Properties for a static theme. A static theme must not contain any other WebExtension logic. If additional logic is required, request the <permission>theme</permission> permission and load/update the theme dynamically. More information about themes can be found in the $(url:dtn-web-extension-themes)[theme guide]"
|
|
3009
3032
|
},
|
|
3010
3033
|
"dark_theme": {
|
|
3011
3034
|
"$ref": "ThemeType",
|
|
3012
3035
|
"optional": true,
|
|
3013
|
-
"description": "Fallback properties for the dark system theme."
|
|
3036
|
+
"description": "Fallback properties for the dark system theme in a static theme."
|
|
3014
3037
|
},
|
|
3015
3038
|
"default_locale": {
|
|
3016
3039
|
"type": "string",
|
|
@@ -3166,6 +3189,7 @@
|
|
|
3166
3189
|
},
|
|
3167
3190
|
{
|
|
3168
3191
|
"namespace": "accounts",
|
|
3192
|
+
"description": "The accounts API provides access to the user's server accounts.",
|
|
3169
3193
|
"permissions": [
|
|
3170
3194
|
"accountsRead"
|
|
3171
3195
|
],
|
|
@@ -3235,6 +3259,7 @@
|
|
|
3235
3259
|
"max_manifest_version": 2,
|
|
3236
3260
|
"type": "string",
|
|
3237
3261
|
"enum": [
|
|
3262
|
+
"ews",
|
|
3238
3263
|
"imap",
|
|
3239
3264
|
"nntp",
|
|
3240
3265
|
"none",
|
|
@@ -3246,6 +3271,7 @@
|
|
|
3246
3271
|
"min_manifest_version": 3,
|
|
3247
3272
|
"type": "string",
|
|
3248
3273
|
"enum": [
|
|
3274
|
+
"ews",
|
|
3249
3275
|
"imap",
|
|
3250
3276
|
"local",
|
|
3251
3277
|
"nntp",
|
|
@@ -3586,6 +3612,7 @@
|
|
|
3586
3612
|
},
|
|
3587
3613
|
{
|
|
3588
3614
|
"namespace": "addressBooks",
|
|
3615
|
+
"description": "The addressBooks API allows to access and manage the user's address books.",
|
|
3589
3616
|
"permissions": [
|
|
3590
3617
|
"addressBooks"
|
|
3591
3618
|
],
|
|
@@ -3834,6 +3861,7 @@
|
|
|
3834
3861
|
},
|
|
3835
3862
|
{
|
|
3836
3863
|
"namespace": "addressBooks.provider",
|
|
3864
|
+
"description": "The address book provider API allows to add address books, which are not stored or cached by Thunderbird itself, but are handled completely by the extension. Address books created by the this API will forward all access requests to the WebExtension.",
|
|
3837
3865
|
"permissions": [
|
|
3838
3866
|
"addressBooks"
|
|
3839
3867
|
],
|
|
@@ -3842,7 +3870,7 @@
|
|
|
3842
3870
|
"name": "onSearchRequest",
|
|
3843
3871
|
"max_manifest_version": 2,
|
|
3844
3872
|
"type": "function",
|
|
3845
|
-
"description": "Registering this listener will create a read-only address book, similar to an LDAP address book. When selecting this address book, users will first see no contacts, but they can search for
|
|
3873
|
+
"description": "Registering this listener will create a read-only address book, similar to an LDAP address book. When selecting this address book, users will first see no contacts, but they can search for contacts, which will fire this event. Contacts returned by the listener callback will be displayed as contact cards in the address book. Several listeners can be registered, to create multiple address books.",
|
|
3846
3874
|
"parameters": [
|
|
3847
3875
|
{
|
|
3848
3876
|
"name": "node",
|
|
@@ -3857,7 +3885,7 @@
|
|
|
3857
3885
|
{
|
|
3858
3886
|
"name": "query",
|
|
3859
3887
|
"type": "string",
|
|
3860
|
-
"description": "The boolean query expression corresponding to the search.
|
|
3888
|
+
"description": "The boolean query expression corresponding to the search.",
|
|
3861
3889
|
"optional": true
|
|
3862
3890
|
}
|
|
3863
3891
|
],
|
|
@@ -3884,13 +3912,27 @@
|
|
|
3884
3912
|
}
|
|
3885
3913
|
}
|
|
3886
3914
|
}
|
|
3887
|
-
]
|
|
3915
|
+
],
|
|
3916
|
+
"returns": {
|
|
3917
|
+
"type": "object",
|
|
3918
|
+
"properties": {
|
|
3919
|
+
"results": {
|
|
3920
|
+
"type": "array",
|
|
3921
|
+
"items": {
|
|
3922
|
+
"$ref": "ContactProperties"
|
|
3923
|
+
}
|
|
3924
|
+
},
|
|
3925
|
+
"isCompleteResult": {
|
|
3926
|
+
"type": "boolean"
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3888
3930
|
},
|
|
3889
3931
|
{
|
|
3890
3932
|
"name": "onSearchRequest",
|
|
3891
3933
|
"min_manifest_version": 3,
|
|
3892
3934
|
"type": "function",
|
|
3893
|
-
"description": "Registering this listener will create a read-only address book, similar to an LDAP address book. When selecting this address book, users will first see no contacts, but they can search for
|
|
3935
|
+
"description": "Registering this listener will create a read-only address book, similar to an LDAP address book. When selecting this address book, users will first see no contacts, but they can search for contacts, which will fire this event. Contacts returned by the listener callback will be displayed as contact cards in the address book. Several listeners can be registered, to create multiple address books.",
|
|
3894
3936
|
"parameters": [
|
|
3895
3937
|
{
|
|
3896
3938
|
"name": "node",
|
|
@@ -3905,7 +3947,7 @@
|
|
|
3905
3947
|
{
|
|
3906
3948
|
"name": "query",
|
|
3907
3949
|
"type": "string",
|
|
3908
|
-
"description": "The boolean query expression corresponding to the search.
|
|
3950
|
+
"description": "The boolean query expression corresponding to the search.",
|
|
3909
3951
|
"optional": true
|
|
3910
3952
|
}
|
|
3911
3953
|
],
|
|
@@ -3932,7 +3974,21 @@
|
|
|
3932
3974
|
}
|
|
3933
3975
|
}
|
|
3934
3976
|
}
|
|
3935
|
-
]
|
|
3977
|
+
],
|
|
3978
|
+
"returns": {
|
|
3979
|
+
"type": "object",
|
|
3980
|
+
"properties": {
|
|
3981
|
+
"results": {
|
|
3982
|
+
"type": "array",
|
|
3983
|
+
"items": {
|
|
3984
|
+
"$ref": "ContactProperties"
|
|
3985
|
+
}
|
|
3986
|
+
},
|
|
3987
|
+
"isCompleteResult": {
|
|
3988
|
+
"type": "boolean"
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3936
3992
|
}
|
|
3937
3993
|
]
|
|
3938
3994
|
},
|
|
@@ -3948,6 +4004,7 @@
|
|
|
3948
4004
|
},
|
|
3949
4005
|
{
|
|
3950
4006
|
"namespace": "contacts",
|
|
4007
|
+
"description": "The contacts API allows to access and manage the user's contacts.",
|
|
3951
4008
|
"max_manifest_version": 2,
|
|
3952
4009
|
"permissions": [
|
|
3953
4010
|
"addressBooks"
|
|
@@ -4036,7 +4093,7 @@
|
|
|
4036
4093
|
{
|
|
4037
4094
|
"id": "ContactProperties",
|
|
4038
4095
|
"type": "object",
|
|
4039
|
-
"description": "A set of individual properties for a particular contact, and its vCard string. Further information can be found in $(doc:
|
|
4096
|
+
"description": "A set of individual properties for a particular contact, and its vCard string. Further information can be found in $(doc:guides/vcard).",
|
|
4040
4097
|
"patternProperties": {
|
|
4041
4098
|
"^\\w+$": {
|
|
4042
4099
|
"choices": [
|
|
@@ -4259,13 +4316,14 @@
|
|
|
4259
4316
|
{
|
|
4260
4317
|
"name": "id",
|
|
4261
4318
|
"type": "string",
|
|
4262
|
-
"description": "Assigns the contact an id. If an existing contact has this id, an exception is thrown.
|
|
4319
|
+
"description": "Assigns the contact an id. If an existing contact has this id, an exception is thrown.",
|
|
4320
|
+
"deprecated": "The card's id should be specified directly in the vCard string.",
|
|
4263
4321
|
"optional": true
|
|
4264
4322
|
},
|
|
4265
4323
|
{
|
|
4266
4324
|
"name": "properties",
|
|
4267
4325
|
"$ref": "ContactProperties",
|
|
4268
|
-
"description": "The properties object for the new contact. If it includes a <var>vCard</var> member, all specified
|
|
4326
|
+
"description": "The properties object for the new contact. If it includes a <var>vCard</var> member, all specified $(url:legacy-properties)[legacy properties] are ignored and the new contact will be based on the provided vCard string. If a UID is specified in the vCard string, which is already used by another contact, an exception is thrown."
|
|
4269
4327
|
},
|
|
4270
4328
|
{
|
|
4271
4329
|
"type": "function",
|
|
@@ -4324,7 +4382,7 @@
|
|
|
4324
4382
|
{
|
|
4325
4383
|
"name": "properties",
|
|
4326
4384
|
"$ref": "ContactProperties",
|
|
4327
|
-
"description": "An object with properties to update the specified contact. Individual properties are removed, if they are set to <var>null</var>. If the provided object includes a <var>vCard</var> member, all specified
|
|
4385
|
+
"description": "An object with properties to update the specified contact. Individual properties are removed, if they are set to <var>null</var>. If the provided object includes a <var>vCard</var> member, all specified $(url:legacy-properties)[legacy properties] are ignored and the details of the contact will be replaced by the provided vCard. Changes to the UID will be ignored."
|
|
4328
4386
|
}
|
|
4329
4387
|
],
|
|
4330
4388
|
"description": "Updates a contact."
|
|
@@ -4423,6 +4481,7 @@
|
|
|
4423
4481
|
},
|
|
4424
4482
|
{
|
|
4425
4483
|
"namespace": "mailingLists",
|
|
4484
|
+
"description": "The mailingLists API allows to access and manage the user's mailing lists.",
|
|
4426
4485
|
"max_manifest_version": 2,
|
|
4427
4486
|
"permissions": [
|
|
4428
4487
|
"addressBooks"
|
|
@@ -4768,7 +4827,7 @@
|
|
|
4768
4827
|
"items": {
|
|
4769
4828
|
"$ref": "ThemeIcons"
|
|
4770
4829
|
},
|
|
4771
|
-
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa.
|
|
4830
|
+
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa. The default theme uses the <var>default_icon</var> for light backgrounds (if specified)."
|
|
4772
4831
|
},
|
|
4773
4832
|
"default_popup": {
|
|
4774
4833
|
"type": "string",
|
|
@@ -4780,7 +4839,7 @@
|
|
|
4780
4839
|
"browser_style": {
|
|
4781
4840
|
"type": "boolean",
|
|
4782
4841
|
"optional": true,
|
|
4783
|
-
"description": "Enable browser styles. See the
|
|
4842
|
+
"description": "Enable browser styles. See the $(url:mdn-browser-styles)[MDN documentation on browser styles] for more information.",
|
|
4784
4843
|
"default": false
|
|
4785
4844
|
},
|
|
4786
4845
|
"default_area": {
|
|
@@ -4873,7 +4932,7 @@
|
|
|
4873
4932
|
"items": {
|
|
4874
4933
|
"$ref": "ThemeIcons"
|
|
4875
4934
|
},
|
|
4876
|
-
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa.
|
|
4935
|
+
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa. The default theme uses the <var>default_icon</var> for light backgrounds (if specified)."
|
|
4877
4936
|
},
|
|
4878
4937
|
"default_popup": {
|
|
4879
4938
|
"type": "string",
|
|
@@ -4885,7 +4944,7 @@
|
|
|
4885
4944
|
"browser_style": {
|
|
4886
4945
|
"type": "boolean",
|
|
4887
4946
|
"optional": true,
|
|
4888
|
-
"description": "Enable browser styles. See the
|
|
4947
|
+
"description": "Enable browser styles. See the $(url:mdn-browser-styles)[MDN documentation on browser styles] for more information.",
|
|
4889
4948
|
"default": false
|
|
4890
4949
|
},
|
|
4891
4950
|
"default_area": {
|
|
@@ -4978,12 +5037,12 @@
|
|
|
4978
5037
|
"type": "any"
|
|
4979
5038
|
},
|
|
4980
5039
|
"postprocess": "convertImageDataToURL",
|
|
4981
|
-
"description": "Pixel data for an image. Must be an
|
|
5040
|
+
"description": "Pixel data for an image. Must be an $(url:image-data)[ImageData] object (for example, from a $(url:canvas-element)[canvas] element)."
|
|
4982
5041
|
},
|
|
4983
5042
|
{
|
|
4984
5043
|
"id": "ImageDataDictionary",
|
|
4985
5044
|
"type": "object",
|
|
4986
|
-
"description": "A <em>dictionary object</em> to specify multiple
|
|
5045
|
+
"description": "A <em>dictionary object</em> to specify multiple $(url:image-data)[ImageData] objects in different sizes, so the icon does not have to be scaled for a device with a different pixel density. Each entry is a <em>name-value</em> pair with <em>value</em> being an $(url:image-data)[ImageData] object, and <em>name</em> its size.",
|
|
4987
5046
|
"patternProperties": {
|
|
4988
5047
|
"^[1-9]\\d*$": {
|
|
4989
5048
|
"$ref": "ImageDataType"
|
|
@@ -5683,7 +5742,7 @@
|
|
|
5683
5742
|
{
|
|
5684
5743
|
"name": "onClicked",
|
|
5685
5744
|
"type": "function",
|
|
5686
|
-
"description": "Fired when an action button is clicked. This event will not fire if the action has a popup. This is a user input event handler. For asynchronous listeners some
|
|
5745
|
+
"description": "Fired when an action button is clicked. This event will not fire if the action has a popup. This is a user input event handler. For asynchronous listeners some $(url:user-input-restrictions)[restrictions] apply.",
|
|
5687
5746
|
"parameters": [
|
|
5688
5747
|
{
|
|
5689
5748
|
"name": "tab",
|
|
@@ -5930,7 +5989,7 @@
|
|
|
5930
5989
|
"properties": {
|
|
5931
5990
|
"browser_style": {
|
|
5932
5991
|
"type": "boolean",
|
|
5933
|
-
"description": "Enable browser styles in the <var>management_url</var> page. See the
|
|
5992
|
+
"description": "Enable browser styles in the <var>management_url</var> page. See the $(url:mdn-browser-styles)[MDN documentation on browser styles] for more information.",
|
|
5934
5993
|
"optional": true,
|
|
5935
5994
|
"default": false
|
|
5936
5995
|
},
|
|
@@ -5938,7 +5997,7 @@
|
|
|
5938
5997
|
"type": "string",
|
|
5939
5998
|
"optional": true,
|
|
5940
5999
|
"deprecated": true,
|
|
5941
|
-
"description": "This property is no longer used. The only supported data format for the <var>data</var> argument in $(ref:cloudFile.onFileUpload) is
|
|
6000
|
+
"description": "This property is no longer used. The only supported data format for the <var>data</var> argument in $(ref:cloudFile.onFileUpload) is $(url:dom-file)[File]."
|
|
5942
6001
|
},
|
|
5943
6002
|
"reuse_uploads": {
|
|
5944
6003
|
"description": "If a previously uploaded cloud file attachment is reused at a later time in a different message, Thunderbird may use the already known <var>url</var> and <var>templateInfo</var> values without triggering the registered $(ref:cloudFile.onFileUpload) listener again. Setting this option to <var>false</var> will always trigger the registered listener, providing the already known values through the <var>relatedFileInfo</var> parameter of the $(ref:cloudFile.onFileUpload) event, to let the provider decide how to handle these cases.",
|
|
@@ -5950,7 +6009,7 @@
|
|
|
5950
6009
|
"type": "string",
|
|
5951
6010
|
"format": "relativeUrl",
|
|
5952
6011
|
"preprocess": "localize",
|
|
5953
|
-
"description": "A page for configuring accounts, to be displayed in the preferences UI.
|
|
6012
|
+
"description": "A page for configuring accounts, to be displayed in the preferences UI."
|
|
5954
6013
|
},
|
|
5955
6014
|
"name": {
|
|
5956
6015
|
"type": "string",
|
|
@@ -5978,6 +6037,7 @@
|
|
|
5978
6037
|
},
|
|
5979
6038
|
{
|
|
5980
6039
|
"namespace": "cloudFile",
|
|
6040
|
+
"description": "The cloudFile (a.k.a. fileLink) API allows to create a provider to store large attachments in the cloud instead of attaching them directly to the message.",
|
|
5981
6041
|
"permissions": [
|
|
5982
6042
|
"manifest:cloud_file"
|
|
5983
6043
|
],
|
|
@@ -6249,7 +6309,7 @@
|
|
|
6249
6309
|
},
|
|
6250
6310
|
"format": {
|
|
6251
6311
|
"optional": true,
|
|
6252
|
-
"description": "A format options object as used by
|
|
6312
|
+
"description": "A format options object as used by $(url:date-time-format)[Intl.DateTimeFormat].",
|
|
6253
6313
|
"type": "object",
|
|
6254
6314
|
"additionalProperties": true
|
|
6255
6315
|
}
|
|
@@ -6449,6 +6509,7 @@
|
|
|
6449
6509
|
},
|
|
6450
6510
|
{
|
|
6451
6511
|
"namespace": "compose",
|
|
6512
|
+
"describtion": "The compose API allows to interact with the message composition window.",
|
|
6452
6513
|
"types": [
|
|
6453
6514
|
{
|
|
6454
6515
|
"id": "ComposeRecipient",
|
|
@@ -6525,9 +6586,6 @@
|
|
|
6525
6586
|
"additionalFccFolder": {
|
|
6526
6587
|
"max_manifest_version": 2,
|
|
6527
6588
|
"choices": [
|
|
6528
|
-
{
|
|
6529
|
-
"$ref": "folders.MailFolderId"
|
|
6530
|
-
},
|
|
6531
6589
|
{
|
|
6532
6590
|
"$ref": "folders.MailFolder"
|
|
6533
6591
|
},
|
|
@@ -6536,6 +6594,9 @@
|
|
|
6536
6594
|
"enum": [
|
|
6537
6595
|
""
|
|
6538
6596
|
]
|
|
6597
|
+
},
|
|
6598
|
+
{
|
|
6599
|
+
"$ref": "folders.MailFolderId"
|
|
6539
6600
|
}
|
|
6540
6601
|
],
|
|
6541
6602
|
"description": "An additional fcc folder which can be selected while composing the message, an empty string if not used. The permission <permission>accountsRead</permission> is required to use this property.",
|
|
@@ -6549,7 +6610,7 @@
|
|
|
6549
6610
|
"attachVCard": {
|
|
6550
6611
|
"type": "boolean",
|
|
6551
6612
|
"optional": true,
|
|
6552
|
-
"description": "Whether or not the vCard of the used identity will be attached to the message during send.
|
|
6613
|
+
"description": "Whether or not the vCard of the used identity will be attached to the message during send."
|
|
6553
6614
|
},
|
|
6554
6615
|
"attachments": {
|
|
6555
6616
|
"type": "array",
|
|
@@ -6663,9 +6724,6 @@
|
|
|
6663
6724
|
"overrideDefaultFccFolder": {
|
|
6664
6725
|
"max_manifest_version": 2,
|
|
6665
6726
|
"choices": [
|
|
6666
|
-
{
|
|
6667
|
-
"$ref": "folders.MailFolderId"
|
|
6668
|
-
},
|
|
6669
6727
|
{
|
|
6670
6728
|
"$ref": "folders.MailFolder"
|
|
6671
6729
|
},
|
|
@@ -6674,6 +6732,9 @@
|
|
|
6674
6732
|
"enum": [
|
|
6675
6733
|
""
|
|
6676
6734
|
]
|
|
6735
|
+
},
|
|
6736
|
+
{
|
|
6737
|
+
"$ref": "folders.MailFolderId"
|
|
6677
6738
|
}
|
|
6678
6739
|
],
|
|
6679
6740
|
"optional": true,
|
|
@@ -6810,7 +6871,7 @@
|
|
|
6810
6871
|
},
|
|
6811
6872
|
"encryptBody": {
|
|
6812
6873
|
"type": "boolean",
|
|
6813
|
-
"description": "Whether encryption of the message body using the OpenPGP technology is enabled.
|
|
6874
|
+
"description": "Whether encryption of the message body using the OpenPGP technology is enabled."
|
|
6814
6875
|
},
|
|
6815
6876
|
"encryptSubject": {
|
|
6816
6877
|
"type": "boolean",
|
|
@@ -6832,7 +6893,7 @@
|
|
|
6832
6893
|
},
|
|
6833
6894
|
"encryptBody": {
|
|
6834
6895
|
"type": "boolean",
|
|
6835
|
-
"description": "Whether encryption of the message body using the S/MIME technology is enabled.
|
|
6896
|
+
"description": "Whether encryption of the message body using the S/MIME technology is enabled."
|
|
6836
6897
|
},
|
|
6837
6898
|
"signMessage": {
|
|
6838
6899
|
"type": "boolean",
|
|
@@ -6845,7 +6906,7 @@
|
|
|
6845
6906
|
{
|
|
6846
6907
|
"name": "onBeforeSend",
|
|
6847
6908
|
"type": "function",
|
|
6848
|
-
"description": "Fired when a message is about to be sent from the compose window. This is a user input event handler. For asynchronous listeners some
|
|
6909
|
+
"description": "Fired when a message is about to be sent from the compose window. This is a user input event handler. For asynchronous listeners some $(url:user-input-restrictions)[restrictions] apply.",
|
|
6849
6910
|
"permissions": [
|
|
6850
6911
|
"compose"
|
|
6851
6912
|
],
|
|
@@ -6956,7 +7017,7 @@
|
|
|
6956
7017
|
"items": {
|
|
6957
7018
|
"$ref": "messages.MessageHeader"
|
|
6958
7019
|
},
|
|
6959
|
-
"description": "
|
|
7020
|
+
"description": "An array with exactly one element, the saved message."
|
|
6960
7021
|
}
|
|
6961
7022
|
}
|
|
6962
7023
|
}
|
|
@@ -7051,7 +7112,7 @@
|
|
|
7051
7112
|
{
|
|
7052
7113
|
"name": "beginNew",
|
|
7053
7114
|
"type": "function",
|
|
7054
|
-
"description": "Open a new message compose window
|
|
7115
|
+
"description": "Open a new message compose window.",
|
|
7055
7116
|
"async": "callback",
|
|
7056
7117
|
"parameters": [
|
|
7057
7118
|
{
|
|
@@ -7081,7 +7142,7 @@
|
|
|
7081
7142
|
{
|
|
7082
7143
|
"name": "beginReply",
|
|
7083
7144
|
"type": "function",
|
|
7084
|
-
"description": "Open a new message compose window replying to a given message
|
|
7145
|
+
"description": "Open a new message compose window replying to a given message.",
|
|
7085
7146
|
"async": "callback",
|
|
7086
7147
|
"parameters": [
|
|
7087
7148
|
{
|
|
@@ -7120,7 +7181,7 @@
|
|
|
7120
7181
|
{
|
|
7121
7182
|
"name": "beginForward",
|
|
7122
7183
|
"type": "function",
|
|
7123
|
-
"description": "Open a new message compose window forwarding a given message
|
|
7184
|
+
"description": "Open a new message compose window forwarding a given message.",
|
|
7124
7185
|
"async": "callback",
|
|
7125
7186
|
"parameters": [
|
|
7126
7187
|
{
|
|
@@ -7185,7 +7246,7 @@
|
|
|
7185
7246
|
"name": "setComposeDetails",
|
|
7186
7247
|
"type": "function",
|
|
7187
7248
|
"async": true,
|
|
7188
|
-
"description": "Updates the compose window. The properties of the given $(ref:compose.ComposeDetails) object will be used to overwrite the current values of the specified compose window, so only properties that are to be changed should be included. Modified settings will be treated as user initiated, and turn off further automatic changes on these settings
|
|
7249
|
+
"description": "Updates the compose window. The properties of the given $(ref:compose.ComposeDetails) object will be used to overwrite the current values of the specified compose window, so only properties that are to be changed should be included. Modified settings will be treated as user initiated, and turn off further automatic changes on these settings.",
|
|
7189
7250
|
"permissions": [
|
|
7190
7251
|
"compose"
|
|
7191
7252
|
],
|
|
@@ -7281,7 +7342,7 @@
|
|
|
7281
7342
|
{
|
|
7282
7343
|
"name": "getAttachmentFile",
|
|
7283
7344
|
"type": "function",
|
|
7284
|
-
"description": "Gets the content of a $(ref:compose.ComposeAttachment) as a
|
|
7345
|
+
"description": "Gets the content of a $(ref:compose.ComposeAttachment) as a $(url:dom-file)[File] object.",
|
|
7285
7346
|
"async": "callback",
|
|
7286
7347
|
"parameters": [
|
|
7287
7348
|
{
|
|
@@ -7503,7 +7564,7 @@
|
|
|
7503
7564
|
"items": {
|
|
7504
7565
|
"$ref": "messages.MessageHeader"
|
|
7505
7566
|
},
|
|
7506
|
-
"description": "
|
|
7567
|
+
"description": "An array with exactly one element, the saved message."
|
|
7507
7568
|
}
|
|
7508
7569
|
}
|
|
7509
7570
|
}
|
|
@@ -7574,7 +7635,7 @@
|
|
|
7574
7635
|
"items": {
|
|
7575
7636
|
"$ref": "ThemeIcons"
|
|
7576
7637
|
},
|
|
7577
|
-
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa.
|
|
7638
|
+
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa. The default theme uses the <var>default_icon</var> for light backgrounds (if specified)."
|
|
7578
7639
|
},
|
|
7579
7640
|
"default_popup": {
|
|
7580
7641
|
"type": "string",
|
|
@@ -7586,7 +7647,7 @@
|
|
|
7586
7647
|
"browser_style": {
|
|
7587
7648
|
"type": "boolean",
|
|
7588
7649
|
"optional": true,
|
|
7589
|
-
"description": "Enable browser styles. See the
|
|
7650
|
+
"description": "Enable browser styles. See the $(url:mdn-browser-styles)[MDN documentation on browser styles] for more information.",
|
|
7590
7651
|
"default": false
|
|
7591
7652
|
},
|
|
7592
7653
|
"default_area": {
|
|
@@ -7642,12 +7703,12 @@
|
|
|
7642
7703
|
"type": "any"
|
|
7643
7704
|
},
|
|
7644
7705
|
"postprocess": "convertImageDataToURL",
|
|
7645
|
-
"description": "Pixel data for an image. Must be an
|
|
7706
|
+
"description": "Pixel data for an image. Must be an $(url:image-data)[ImageData] object (for example, from a $(url:canvas-element)[canvas] element)."
|
|
7646
7707
|
},
|
|
7647
7708
|
{
|
|
7648
7709
|
"id": "ImageDataDictionary",
|
|
7649
7710
|
"type": "object",
|
|
7650
|
-
"description": "A <em>dictionary object</em> to specify multiple
|
|
7711
|
+
"description": "A <em>dictionary object</em> to specify multiple $(url:image-data)[ImageData] objects in different sizes, so the icon does not have to be scaled for a device with a different pixel density. Each entry is a <em>name-value</em> pair with <em>value</em> being an $(url:image-data)[ImageData] object, and <em>name</em> its size.",
|
|
7651
7712
|
"patternProperties": {
|
|
7652
7713
|
"^[1-9]\\d*$": {
|
|
7653
7714
|
"$ref": "ImageDataType"
|
|
@@ -8347,7 +8408,7 @@
|
|
|
8347
8408
|
{
|
|
8348
8409
|
"name": "onClicked",
|
|
8349
8410
|
"type": "function",
|
|
8350
|
-
"description": "Fired when a composeAction button is clicked. This event will not fire if the composeAction has a popup. This is a user input event handler. For asynchronous listeners some
|
|
8411
|
+
"description": "Fired when a composeAction button is clicked. This event will not fire if the composeAction has a popup. This is a user input event handler. For asynchronous listeners some $(url:user-input-restrictions)[restrictions] apply.",
|
|
8351
8412
|
"parameters": [
|
|
8352
8413
|
{
|
|
8353
8414
|
"name": "tab",
|
|
@@ -8430,7 +8491,7 @@
|
|
|
8430
8491
|
{
|
|
8431
8492
|
"name": "register",
|
|
8432
8493
|
"type": "function",
|
|
8433
|
-
"description": "Register a compose script programmatically.
|
|
8494
|
+
"description": "Register a compose script programmatically.",
|
|
8434
8495
|
"async": true,
|
|
8435
8496
|
"parameters": [
|
|
8436
8497
|
{
|
|
@@ -8501,7 +8562,7 @@
|
|
|
8501
8562
|
{
|
|
8502
8563
|
"name": "register",
|
|
8503
8564
|
"type": "function",
|
|
8504
|
-
"description": "Register a message display script programmatically.
|
|
8565
|
+
"description": "Register a message display script programmatically.",
|
|
8505
8566
|
"async": true,
|
|
8506
8567
|
"parameters": [
|
|
8507
8568
|
{
|
|
@@ -8532,6 +8593,7 @@
|
|
|
8532
8593
|
},
|
|
8533
8594
|
{
|
|
8534
8595
|
"namespace": "folders",
|
|
8596
|
+
"description": "The folders API allows to access and manage the user's message folders.",
|
|
8535
8597
|
"permissions": [
|
|
8536
8598
|
"accountsRead"
|
|
8537
8599
|
],
|
|
@@ -8975,12 +9037,12 @@
|
|
|
8975
9037
|
"isTag": {
|
|
8976
9038
|
"type": "boolean",
|
|
8977
9039
|
"optional": true,
|
|
8978
|
-
"description": "Whether the folder is a virtual tag folder, or not.
|
|
9040
|
+
"description": "Whether the folder is a virtual tag folder, or not. Virtual tag folders are always skipped, unless this property is set to <var>true</var>"
|
|
8979
9041
|
},
|
|
8980
9042
|
"isUnified": {
|
|
8981
9043
|
"type": "boolean",
|
|
8982
9044
|
"optional": true,
|
|
8983
|
-
"description": "Whether the folder is a unified mailbox folder, or not.
|
|
9045
|
+
"description": "Whether the folder is a unified mailbox folder, or not. Unified mailbox folders are always skipped, unless this property is set to <var>true</var>"
|
|
8984
9046
|
},
|
|
8985
9047
|
"isVirtual": {
|
|
8986
9048
|
"type": "boolean",
|
|
@@ -9179,9 +9241,6 @@
|
|
|
9179
9241
|
{
|
|
9180
9242
|
"name": "destination",
|
|
9181
9243
|
"choices": [
|
|
9182
|
-
{
|
|
9183
|
-
"$ref": "folders.MailFolderId"
|
|
9184
|
-
},
|
|
9185
9244
|
{
|
|
9186
9245
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.create() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9187
9246
|
"$ref": "folders.MailFolder"
|
|
@@ -9189,6 +9248,9 @@
|
|
|
9189
9248
|
{
|
|
9190
9249
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.create() requires to specify the MailFolderId of the account's rootFolder, instead of a full MailAccount object.",
|
|
9191
9250
|
"$ref": "accounts.MailAccount"
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
"$ref": "folders.MailFolderId"
|
|
9192
9254
|
}
|
|
9193
9255
|
]
|
|
9194
9256
|
},
|
|
@@ -9221,12 +9283,12 @@
|
|
|
9221
9283
|
{
|
|
9222
9284
|
"name": "folder",
|
|
9223
9285
|
"choices": [
|
|
9224
|
-
{
|
|
9225
|
-
"$ref": "folders.MailFolderId"
|
|
9226
|
-
},
|
|
9227
9286
|
{
|
|
9228
9287
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.rename() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9229
9288
|
"$ref": "folders.MailFolder"
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"$ref": "folders.MailFolderId"
|
|
9230
9292
|
}
|
|
9231
9293
|
]
|
|
9232
9294
|
},
|
|
@@ -9289,21 +9351,18 @@
|
|
|
9289
9351
|
{
|
|
9290
9352
|
"name": "source",
|
|
9291
9353
|
"choices": [
|
|
9292
|
-
{
|
|
9293
|
-
"$ref": "folders.MailFolderId"
|
|
9294
|
-
},
|
|
9295
9354
|
{
|
|
9296
9355
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.move() requires to specify a MailFolderId for its source parameter, instead of a full MailFolder object.",
|
|
9297
9356
|
"$ref": "folders.MailFolder"
|
|
9357
|
+
},
|
|
9358
|
+
{
|
|
9359
|
+
"$ref": "folders.MailFolderId"
|
|
9298
9360
|
}
|
|
9299
9361
|
]
|
|
9300
9362
|
},
|
|
9301
9363
|
{
|
|
9302
9364
|
"name": "destination",
|
|
9303
9365
|
"choices": [
|
|
9304
|
-
{
|
|
9305
|
-
"$ref": "folders.MailFolderId"
|
|
9306
|
-
},
|
|
9307
9366
|
{
|
|
9308
9367
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.move() requires to specify a MailFolderId for its destination parameter, instead of a full MailFolder object.",
|
|
9309
9368
|
"$ref": "folders.MailFolder"
|
|
@@ -9311,6 +9370,9 @@
|
|
|
9311
9370
|
{
|
|
9312
9371
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.move() requires to specify the MailFolderId of the account's rootFolder for its destination parameter, instead of a full MailAccount object.",
|
|
9313
9372
|
"$ref": "accounts.MailAccount"
|
|
9373
|
+
},
|
|
9374
|
+
{
|
|
9375
|
+
"$ref": "folders.MailFolderId"
|
|
9314
9376
|
}
|
|
9315
9377
|
]
|
|
9316
9378
|
},
|
|
@@ -9369,21 +9431,18 @@
|
|
|
9369
9431
|
{
|
|
9370
9432
|
"name": "source",
|
|
9371
9433
|
"choices": [
|
|
9372
|
-
{
|
|
9373
|
-
"$ref": "folders.MailFolderId"
|
|
9374
|
-
},
|
|
9375
9434
|
{
|
|
9376
9435
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.copy() requires to specify a MailFolderId for its source parameter, instead of a full MailFolder object.",
|
|
9377
9436
|
"$ref": "folders.MailFolder"
|
|
9437
|
+
},
|
|
9438
|
+
{
|
|
9439
|
+
"$ref": "folders.MailFolderId"
|
|
9378
9440
|
}
|
|
9379
9441
|
]
|
|
9380
9442
|
},
|
|
9381
9443
|
{
|
|
9382
9444
|
"name": "destination",
|
|
9383
9445
|
"choices": [
|
|
9384
|
-
{
|
|
9385
|
-
"$ref": "folders.MailFolderId"
|
|
9386
|
-
},
|
|
9387
9446
|
{
|
|
9388
9447
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.copy() requires to specify a MailFolderId for its destination parameter, instead of a full MailFolder object.",
|
|
9389
9448
|
"$ref": "folders.MailFolder"
|
|
@@ -9391,6 +9450,9 @@
|
|
|
9391
9450
|
{
|
|
9392
9451
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.copy() requires to specify the MailFolderId of the account's rootFolder for its destination parameter, instead of a full MailAccount object.",
|
|
9393
9452
|
"$ref": "accounts.MailAccount"
|
|
9453
|
+
},
|
|
9454
|
+
{
|
|
9455
|
+
"$ref": "folders.MailFolderId"
|
|
9394
9456
|
}
|
|
9395
9457
|
]
|
|
9396
9458
|
},
|
|
@@ -9450,12 +9512,12 @@
|
|
|
9450
9512
|
{
|
|
9451
9513
|
"name": "folder",
|
|
9452
9514
|
"choices": [
|
|
9453
|
-
{
|
|
9454
|
-
"$ref": "folders.MailFolderId"
|
|
9455
|
-
},
|
|
9456
9515
|
{
|
|
9457
9516
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.delete() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9458
9517
|
"$ref": "folders.MailFolder"
|
|
9518
|
+
},
|
|
9519
|
+
{
|
|
9520
|
+
"$ref": "folders.MailFolderId"
|
|
9459
9521
|
}
|
|
9460
9522
|
]
|
|
9461
9523
|
}
|
|
@@ -9491,12 +9553,12 @@
|
|
|
9491
9553
|
{
|
|
9492
9554
|
"name": "folder",
|
|
9493
9555
|
"choices": [
|
|
9494
|
-
{
|
|
9495
|
-
"$ref": "folders.MailFolderId"
|
|
9496
|
-
},
|
|
9497
9556
|
{
|
|
9498
9557
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.update() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9499
9558
|
"$ref": "folders.MailFolder"
|
|
9559
|
+
},
|
|
9560
|
+
{
|
|
9561
|
+
"$ref": "folders.MailFolderId"
|
|
9500
9562
|
}
|
|
9501
9563
|
]
|
|
9502
9564
|
},
|
|
@@ -9552,12 +9614,12 @@
|
|
|
9552
9614
|
{
|
|
9553
9615
|
"name": "folder",
|
|
9554
9616
|
"choices": [
|
|
9555
|
-
{
|
|
9556
|
-
"$ref": "folders.MailFolderId"
|
|
9557
|
-
},
|
|
9558
9617
|
{
|
|
9559
9618
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getFolderInfo() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9560
9619
|
"$ref": "folders.MailFolder"
|
|
9620
|
+
},
|
|
9621
|
+
{
|
|
9622
|
+
"$ref": "folders.MailFolderId"
|
|
9561
9623
|
}
|
|
9562
9624
|
]
|
|
9563
9625
|
},
|
|
@@ -9606,12 +9668,12 @@
|
|
|
9606
9668
|
{
|
|
9607
9669
|
"name": "folder",
|
|
9608
9670
|
"choices": [
|
|
9609
|
-
{
|
|
9610
|
-
"$ref": "folders.MailFolderId"
|
|
9611
|
-
},
|
|
9612
9671
|
{
|
|
9613
9672
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getFolderCapabilities() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9614
9673
|
"$ref": "folders.MailFolder"
|
|
9674
|
+
},
|
|
9675
|
+
{
|
|
9676
|
+
"$ref": "folders.MailFolderId"
|
|
9615
9677
|
}
|
|
9616
9678
|
]
|
|
9617
9679
|
},
|
|
@@ -9660,12 +9722,12 @@
|
|
|
9660
9722
|
{
|
|
9661
9723
|
"name": "folder",
|
|
9662
9724
|
"choices": [
|
|
9663
|
-
{
|
|
9664
|
-
"$ref": "folders.MailFolderId"
|
|
9665
|
-
},
|
|
9666
9725
|
{
|
|
9667
9726
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getParentFolders() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9668
9727
|
"$ref": "folders.MailFolder"
|
|
9728
|
+
},
|
|
9729
|
+
{
|
|
9730
|
+
"$ref": "folders.MailFolderId"
|
|
9669
9731
|
}
|
|
9670
9732
|
]
|
|
9671
9733
|
},
|
|
@@ -9767,9 +9829,6 @@
|
|
|
9767
9829
|
{
|
|
9768
9830
|
"name": "folder",
|
|
9769
9831
|
"choices": [
|
|
9770
|
-
{
|
|
9771
|
-
"$ref": "folders.MailFolderId"
|
|
9772
|
-
},
|
|
9773
9832
|
{
|
|
9774
9833
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getSubFolders() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9775
9834
|
"$ref": "folders.MailFolder"
|
|
@@ -9777,6 +9836,9 @@
|
|
|
9777
9836
|
{
|
|
9778
9837
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getSubFolders() requires to specify the MailFolderId of the account's rootFolder, instead of a full MailAccount object.",
|
|
9779
9838
|
"$ref": "accounts.MailAccount"
|
|
9839
|
+
},
|
|
9840
|
+
{
|
|
9841
|
+
"$ref": "folders.MailFolderId"
|
|
9780
9842
|
}
|
|
9781
9843
|
]
|
|
9782
9844
|
},
|
|
@@ -9877,12 +9939,12 @@
|
|
|
9877
9939
|
{
|
|
9878
9940
|
"name": "folder",
|
|
9879
9941
|
"choices": [
|
|
9880
|
-
{
|
|
9881
|
-
"$ref": "folders.MailFolderId"
|
|
9882
|
-
},
|
|
9883
9942
|
{
|
|
9884
9943
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.markAsRead() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9885
9944
|
"$ref": "folders.MailFolder"
|
|
9945
|
+
},
|
|
9946
|
+
{
|
|
9947
|
+
"$ref": "folders.MailFolderId"
|
|
9886
9948
|
}
|
|
9887
9949
|
]
|
|
9888
9950
|
},
|
|
@@ -10037,6 +10099,7 @@
|
|
|
10037
10099
|
},
|
|
10038
10100
|
{
|
|
10039
10101
|
"namespace": "identities",
|
|
10102
|
+
"description": "The identities API allows to manage the user's identities (each account can have multiple identities).",
|
|
10040
10103
|
"permissions": [
|
|
10041
10104
|
"accountsRead"
|
|
10042
10105
|
],
|
|
@@ -10350,6 +10413,7 @@
|
|
|
10350
10413
|
"mailTabs.json": [
|
|
10351
10414
|
{
|
|
10352
10415
|
"namespace": "mailTabs",
|
|
10416
|
+
"description": "The mailTabs API allows to interact with Thunderbird's main mail tab (a.k.a 3-pane tab).",
|
|
10353
10417
|
"types": [
|
|
10354
10418
|
{
|
|
10355
10419
|
"id": "FolderMode",
|
|
@@ -10546,7 +10610,7 @@
|
|
|
10546
10610
|
},
|
|
10547
10611
|
"layout": {
|
|
10548
10612
|
"type": "string",
|
|
10549
|
-
"description": "Sets the arrangement of the folder pane, message list pane, and message display pane.
|
|
10613
|
+
"description": "Sets the arrangement of the folder pane, message list pane, and message display pane. Setting a layout will be applied to all mail tabs.",
|
|
10550
10614
|
"optional": true,
|
|
10551
10615
|
"enum": [
|
|
10552
10616
|
"standard",
|
|
@@ -10728,7 +10792,7 @@
|
|
|
10728
10792
|
{
|
|
10729
10793
|
"name": "create",
|
|
10730
10794
|
"type": "function",
|
|
10731
|
-
"description": "Creates a new mail tab. Standard tab properties can be adjusted via $(ref:tabs.update) after the mail tab has been created.
|
|
10795
|
+
"description": "Creates a new mail tab. Standard tab properties can be adjusted via $(ref:tabs.update) after the mail tab has been created. A new mail window can be created via $(ref:windows.create).",
|
|
10732
10796
|
"async": "callback",
|
|
10733
10797
|
"parameters": [
|
|
10734
10798
|
{
|
|
@@ -11089,7 +11153,7 @@
|
|
|
11089
11153
|
]
|
|
11090
11154
|
}
|
|
11091
11155
|
],
|
|
11092
|
-
"description": "The different contexts a menu can appear in. Specifying <var>all</var> is equivalent to the combination of all other contexts excluding <var>tab</var> and <var>tools_menu</var>. More information about each context can be found in the
|
|
11156
|
+
"description": "The different contexts a menu can appear in. Specifying <var>all</var> is equivalent to the combination of all other contexts excluding <var>tab</var> and <var>tools_menu</var>. More information about each context can be found in the $(url:ui-elements)[Supported UI Elements] article on developer.thunderbird.net."
|
|
11093
11157
|
},
|
|
11094
11158
|
{
|
|
11095
11159
|
"id": "ItemType",
|
|
@@ -11145,31 +11209,31 @@
|
|
|
11145
11209
|
"linkText": {
|
|
11146
11210
|
"type": "string",
|
|
11147
11211
|
"optional": true,
|
|
11148
|
-
"description": "If the element is a link, the text of that link.
|
|
11212
|
+
"description": "If the element is a link, the text of that link."
|
|
11149
11213
|
},
|
|
11150
11214
|
"linkUrl": {
|
|
11151
11215
|
"type": "string",
|
|
11152
11216
|
"optional": true,
|
|
11153
|
-
"description": "If the element is a link, the URL it points to.
|
|
11217
|
+
"description": "If the element is a link, the URL it points to."
|
|
11154
11218
|
},
|
|
11155
11219
|
"srcUrl": {
|
|
11156
11220
|
"type": "string",
|
|
11157
|
-
"description": "Will be present for elements with a <em>src</em> URL.
|
|
11221
|
+
"description": "Will be present for elements with a <em>src</em> URL.",
|
|
11158
11222
|
"optional": true
|
|
11159
11223
|
},
|
|
11160
11224
|
"pageUrl": {
|
|
11161
11225
|
"type": "string",
|
|
11162
|
-
"description": "The URL of the page where the menu item was clicked. This property is not set if the click occurred in a context where there is no current page, such as in a launcher context menu.
|
|
11226
|
+
"description": "The URL of the page where the menu item was clicked. This property is not set if the click occurred in a context where there is no current page, such as in a launcher context menu.",
|
|
11163
11227
|
"optional": true
|
|
11164
11228
|
},
|
|
11165
11229
|
"frameUrl": {
|
|
11166
11230
|
"type": "string",
|
|
11167
|
-
"description": "The URL of the frame of the element where the context menu was clicked, if it was in a frame.
|
|
11231
|
+
"description": "The URL of the frame of the element where the context menu was clicked, if it was in a frame.",
|
|
11168
11232
|
"optional": true
|
|
11169
11233
|
},
|
|
11170
11234
|
"selectionText": {
|
|
11171
11235
|
"type": "string",
|
|
11172
|
-
"description": "The text for the context selection, if any.
|
|
11236
|
+
"description": "The text for the context selection, if any.",
|
|
11173
11237
|
"optional": true
|
|
11174
11238
|
},
|
|
11175
11239
|
"targetElementId": {
|
|
@@ -11435,7 +11499,7 @@
|
|
|
11435
11499
|
"$ref": "MenuIconPath"
|
|
11436
11500
|
}
|
|
11437
11501
|
},
|
|
11438
|
-
"description": "A <em>dictionary object</em> to specify paths for multiple icons in different sizes, so the best matching icon can be used, instead of scaling a standard icon to fit the pixel density of the user's display. Each entry is a <em>name-value</em> pair, with <em>name</em> being a size and <em>value</em> being a $(ref:menus.MenuIconPath).
|
|
11502
|
+
"description": "A <em>dictionary object</em> to specify paths for multiple icons in different sizes, so the best matching icon can be used, instead of scaling a standard icon to fit the pixel density of the user's display. Each entry is a <em>name-value</em> pair, with <em>name</em> being a size and <em>value</em> being a $(ref:menus.MenuIconPath)."
|
|
11439
11503
|
},
|
|
11440
11504
|
{
|
|
11441
11505
|
"id": "MenuActionCommand",
|
|
@@ -11466,7 +11530,7 @@
|
|
|
11466
11530
|
{
|
|
11467
11531
|
"name": "create",
|
|
11468
11532
|
"type": "function",
|
|
11469
|
-
"description": "Creates a new context menu item. Note that if an error occurs during creation, you may not find out until the creation callback fires (the details will be in
|
|
11533
|
+
"description": "Creates a new context menu item. Note that if an error occurs during creation, you may not find out until the creation callback fires (the details will be in $(url:runtime-last-error)[runtime.lastError]).",
|
|
11470
11534
|
"returns": {
|
|
11471
11535
|
"choices": [
|
|
11472
11536
|
{
|
|
@@ -11573,7 +11637,7 @@
|
|
|
11573
11637
|
"type": "string"
|
|
11574
11638
|
},
|
|
11575
11639
|
"optional": true,
|
|
11576
|
-
"description": "Lets you restrict the item to apply only to documents whose URL matches one of the given patterns. (This applies to frames as well.) For details on the format of a pattern, see
|
|
11640
|
+
"description": "Lets you restrict the item to apply only to documents whose URL matches one of the given patterns. (This applies to frames as well.) For details on the format of a pattern, see $(url:match-patterns)[Match Patterns]."
|
|
11577
11641
|
},
|
|
11578
11642
|
"targetUrlPatterns": {
|
|
11579
11643
|
"type": "array",
|
|
@@ -11606,7 +11670,7 @@
|
|
|
11606
11670
|
"type": "function",
|
|
11607
11671
|
"name": "callback",
|
|
11608
11672
|
"optional": true,
|
|
11609
|
-
"description": "Called when the item has been created in the browser. If there were any problems creating the item, details will be available in
|
|
11673
|
+
"description": "Called when the item has been created in the browser. If there were any problems creating the item, details will be available in $(url:runtime-last-error)[runtime.lastError].",
|
|
11610
11674
|
"parameters": []
|
|
11611
11675
|
}
|
|
11612
11676
|
]
|
|
@@ -11689,7 +11753,7 @@
|
|
|
11689
11753
|
{
|
|
11690
11754
|
"name": "tab",
|
|
11691
11755
|
"$ref": "tabs.Tab",
|
|
11692
|
-
"description": "The details of the tab where the click took place.
|
|
11756
|
+
"description": "The details of the tab where the click took place."
|
|
11693
11757
|
}
|
|
11694
11758
|
]
|
|
11695
11759
|
},
|
|
@@ -11703,7 +11767,7 @@
|
|
|
11703
11767
|
}
|
|
11704
11768
|
],
|
|
11705
11769
|
"optional": true,
|
|
11706
|
-
"description": "
|
|
11770
|
+
"description": "The hierarchical parent of the element. Updating an element to become a child of its own descendants is not supported."
|
|
11707
11771
|
},
|
|
11708
11772
|
"documentUrlPatterns": {
|
|
11709
11773
|
"type": "array",
|
|
@@ -11782,7 +11846,7 @@
|
|
|
11782
11846
|
"menus.overrideContext"
|
|
11783
11847
|
],
|
|
11784
11848
|
"type": "function",
|
|
11785
|
-
"description": "Show the matching menu items from this extension instead of the default menu. This should be called during a
|
|
11849
|
+
"description": "Show the matching menu items from this extension instead of the default menu. This should be called during a $(url:contextmenu-event)[contextmenu] event handler, and only applies to the menu that opens after this event.",
|
|
11786
11850
|
"parameters": [
|
|
11787
11851
|
{
|
|
11788
11852
|
"name": "contextOptions",
|
|
@@ -11824,7 +11888,7 @@
|
|
|
11824
11888
|
{
|
|
11825
11889
|
"name": "onClicked",
|
|
11826
11890
|
"type": "function",
|
|
11827
|
-
"description": "Fired when a context menu item is clicked. This is a user input event handler. For asynchronous listeners some
|
|
11891
|
+
"description": "Fired when a context menu item is clicked. This is a user input event handler. For asynchronous listeners some $(url:user-input-restrictions)[restrictions] apply.",
|
|
11828
11892
|
"parameters": [
|
|
11829
11893
|
{
|
|
11830
11894
|
"name": "info",
|
|
@@ -11884,7 +11948,7 @@
|
|
|
11884
11948
|
"content",
|
|
11885
11949
|
"devtools"
|
|
11886
11950
|
],
|
|
11887
|
-
"description": "Retrieve the element that was associated with a recent
|
|
11951
|
+
"description": "Retrieve the element that was associated with a recent $(url:contextmenu-event)[contextmenu] event.",
|
|
11888
11952
|
"parameters": [
|
|
11889
11953
|
{
|
|
11890
11954
|
"type": "integer",
|
|
@@ -11907,6 +11971,7 @@
|
|
|
11907
11971
|
"messageDisplay.json": [
|
|
11908
11972
|
{
|
|
11909
11973
|
"namespace": "messageDisplay",
|
|
11974
|
+
"description": "A message can be displayed in either Thunderbird's main mail tab (a.k.a 3-pane tab), a tab of its own, or in a window of its own. All are referenced by <var>tabId</var> in this API. Display windows are considered to have exactly one tab, which has limited functionality compared to tabs from the main window.",
|
|
11910
11975
|
"permissions": [
|
|
11911
11976
|
"messagesRead"
|
|
11912
11977
|
],
|
|
@@ -12124,7 +12189,7 @@
|
|
|
12124
12189
|
"items": {
|
|
12125
12190
|
"$ref": "ThemeIcons"
|
|
12126
12191
|
},
|
|
12127
|
-
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa.
|
|
12192
|
+
"description": "Specifies dark and light icons to be used with themes. The <var>light</var> icon is used on dark backgrounds and vice versa. The default theme uses the <var>default_icon</var> for light backgrounds (if specified)."
|
|
12128
12193
|
},
|
|
12129
12194
|
"default_popup": {
|
|
12130
12195
|
"type": "string",
|
|
@@ -12136,7 +12201,7 @@
|
|
|
12136
12201
|
"browser_style": {
|
|
12137
12202
|
"type": "boolean",
|
|
12138
12203
|
"optional": true,
|
|
12139
|
-
"description": "Enable browser styles. See the
|
|
12204
|
+
"description": "Enable browser styles. See the $(url:mdn-browser-styles)[MDN documentation on browser styles] for more information.",
|
|
12140
12205
|
"default": false
|
|
12141
12206
|
},
|
|
12142
12207
|
"default_area": {
|
|
@@ -12188,12 +12253,12 @@
|
|
|
12188
12253
|
"type": "any"
|
|
12189
12254
|
},
|
|
12190
12255
|
"postprocess": "convertImageDataToURL",
|
|
12191
|
-
"description": "Pixel data for an image. Must be an
|
|
12256
|
+
"description": "Pixel data for an image. Must be an $(url:image-data)[ImageData] object (for example, from a $(url:canvas-element)[canvas] element)."
|
|
12192
12257
|
},
|
|
12193
12258
|
{
|
|
12194
12259
|
"id": "ImageDataDictionary",
|
|
12195
12260
|
"type": "object",
|
|
12196
|
-
"description": "A <em>dictionary object</em> to specify multiple
|
|
12261
|
+
"description": "A <em>dictionary object</em> to specify multiple $(url:image-data)[ImageData] objects in different sizes, so the icon does not have to be scaled for a device with a different pixel density. Each entry is a <em>name-value</em> pair with <em>value</em> being an $(url:image-data)[ImageData] object, and <em>name</em> its size.",
|
|
12197
12262
|
"patternProperties": {
|
|
12198
12263
|
"^[1-9]\\d*$": {
|
|
12199
12264
|
"$ref": "ImageDataType"
|
|
@@ -12893,7 +12958,7 @@
|
|
|
12893
12958
|
{
|
|
12894
12959
|
"name": "onClicked",
|
|
12895
12960
|
"type": "function",
|
|
12896
|
-
"description": "Fired when a messageDisplayAction button is clicked. This event will not fire if the messageDisplayAction has a popup. This is a user input event handler. For asynchronous listeners some
|
|
12961
|
+
"description": "Fired when a messageDisplayAction button is clicked. This event will not fire if the messageDisplayAction has a popup. This is a user input event handler. For asynchronous listeners some $(url:user-input-restrictions)[restrictions] apply.",
|
|
12897
12962
|
"parameters": [
|
|
12898
12963
|
{
|
|
12899
12964
|
"name": "tab",
|
|
@@ -12936,6 +13001,7 @@
|
|
|
12936
13001
|
},
|
|
12937
13002
|
{
|
|
12938
13003
|
"namespace": "messages",
|
|
13004
|
+
"description": "The messages API allows to access and manage the user's messages.",
|
|
12939
13005
|
"permissions": [
|
|
12940
13006
|
"messagesRead"
|
|
12941
13007
|
],
|
|
@@ -13061,7 +13127,7 @@
|
|
|
13061
13127
|
{
|
|
13062
13128
|
"id": "MessageList",
|
|
13063
13129
|
"type": "object",
|
|
13064
|
-
"description": "See $(doc:
|
|
13130
|
+
"description": "See $(doc:guides/messageLists) for more information.",
|
|
13065
13131
|
"properties": {
|
|
13066
13132
|
"id": {
|
|
13067
13133
|
"choices": [
|
|
@@ -13396,12 +13462,12 @@
|
|
|
13396
13462
|
{
|
|
13397
13463
|
"name": "folder",
|
|
13398
13464
|
"choices": [
|
|
13399
|
-
{
|
|
13400
|
-
"$ref": "folders.MailFolderId"
|
|
13401
|
-
},
|
|
13402
13465
|
{
|
|
13403
13466
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.list() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
13404
13467
|
"$ref": "folders.MailFolder"
|
|
13468
|
+
},
|
|
13469
|
+
{
|
|
13470
|
+
"$ref": "folders.MailFolderId"
|
|
13405
13471
|
}
|
|
13406
13472
|
]
|
|
13407
13473
|
},
|
|
@@ -13420,7 +13486,7 @@
|
|
|
13420
13486
|
{
|
|
13421
13487
|
"name": "continueList",
|
|
13422
13488
|
"type": "function",
|
|
13423
|
-
"description": "Returns the next chunk of messages in a list. See $(doc:
|
|
13489
|
+
"description": "Returns the next chunk of messages in a list. See $(doc:guides/messageLists) for more information.",
|
|
13424
13490
|
"async": "callback",
|
|
13425
13491
|
"parameters": [
|
|
13426
13492
|
{
|
|
@@ -13494,7 +13560,7 @@
|
|
|
13494
13560
|
},
|
|
13495
13561
|
"decodeHeaders": {
|
|
13496
13562
|
"type": "boolean",
|
|
13497
|
-
"description": "Whether to decode RFC 2047 encoded headers of message parts. Defaults to <var>true</var>.
|
|
13563
|
+
"description": "Whether to decode RFC 2047 encoded headers of message parts. Defaults to <var>true</var>.",
|
|
13498
13564
|
"optional": true
|
|
13499
13565
|
},
|
|
13500
13566
|
"decodeContent": {
|
|
@@ -13548,7 +13614,7 @@
|
|
|
13548
13614
|
"choices": [
|
|
13549
13615
|
{
|
|
13550
13616
|
"max_manifest_version": 2,
|
|
13551
|
-
"description": "The message can either be returned as a DOM File or as a
|
|
13617
|
+
"description": "The message can either be returned as a DOM File or as a $(url:binary-string)[binary string]. The historic default is to return a binary string (kept for backward compatibility). However, it is now recommended to use the <var>File</var> format, because the DOM File object can be used as-is with the downloads API and has useful methods to access the content, like $(url:dom-file-text)[File.text()] and $(url:dom-file-array-buffer)[File.arrayBuffer()].",
|
|
13552
13618
|
"type": "string",
|
|
13553
13619
|
"enum": [
|
|
13554
13620
|
"File",
|
|
@@ -13557,7 +13623,7 @@
|
|
|
13557
13623
|
},
|
|
13558
13624
|
{
|
|
13559
13625
|
"min_manifest_version": 3,
|
|
13560
|
-
"description": "The message can either be returned as a DOM File (default) or as a
|
|
13626
|
+
"description": "The message can either be returned as a DOM File (default) or as a $(url:binary-string)[binary string]. It is recommended to use the <var>File</var> format, because the DOM File object can be used as-is with the downloads API and has useful methods to access the content, like $(url:dom-file-text)[File.text()] and $(url:dom-file-array-buffer)[File.arrayBuffer()].",
|
|
13561
13627
|
"type": "string",
|
|
13562
13628
|
"enum": [
|
|
13563
13629
|
"File",
|
|
@@ -13619,7 +13685,7 @@
|
|
|
13619
13685
|
{
|
|
13620
13686
|
"name": "listInlineTextParts",
|
|
13621
13687
|
"type": "function",
|
|
13622
|
-
"description": "Lists all inline text parts of a message. These parts are not returned by $(ref:messages.listAttachments) and usually make up the readable content of the message, mostly with content type <var>text/plain</var> or <var>text/html</var>. If a message only includes a part with content type <var>text/html</var>, the method $(ref:messengerUtilities.convertToPlainText) can be used to retreive a plain text version.
|
|
13688
|
+
"description": "Lists all inline text parts of a message. These parts are not returned by $(ref:messages.listAttachments) and usually make up the readable content of the message, mostly with content type <var>text/plain</var> or <var>text/html</var>. If a message only includes a part with content type <var>text/html</var>, the method $(ref:messengerUtilities.convertToPlainText) can be used to retreive a plain text version.",
|
|
13623
13689
|
"async": "callback",
|
|
13624
13690
|
"parameters": [
|
|
13625
13691
|
{
|
|
@@ -13644,7 +13710,7 @@
|
|
|
13644
13710
|
{
|
|
13645
13711
|
"name": "getAttachmentFile",
|
|
13646
13712
|
"type": "function",
|
|
13647
|
-
"description": "Gets the content of a $(ref:messages.MessageAttachment) as a
|
|
13713
|
+
"description": "Gets the content of a $(ref:messages.MessageAttachment) as a $(url:dom-file)[File] object.",
|
|
13648
13714
|
"async": "callback",
|
|
13649
13715
|
"parameters": [
|
|
13650
13716
|
{
|
|
@@ -13821,7 +13887,7 @@
|
|
|
13821
13887
|
"online": {
|
|
13822
13888
|
"type": "boolean",
|
|
13823
13889
|
"optional": true,
|
|
13824
|
-
"description": "Query the server directly instead of the local message database. Online queries currently only support querying the
|
|
13890
|
+
"description": "Query the server directly instead of the local message database. Online queries currently only support querying the <var>headerMessageId</var> property. Currently only supported for NNTP accounts."
|
|
13825
13891
|
},
|
|
13826
13892
|
"recipients": {
|
|
13827
13893
|
"type": "string",
|
|
@@ -13957,12 +14023,12 @@
|
|
|
13957
14023
|
{
|
|
13958
14024
|
"name": "destination",
|
|
13959
14025
|
"choices": [
|
|
13960
|
-
{
|
|
13961
|
-
"$ref": "folders.MailFolderId"
|
|
13962
|
-
},
|
|
13963
14026
|
{
|
|
13964
14027
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.move() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
13965
14028
|
"$ref": "folders.MailFolder"
|
|
14029
|
+
},
|
|
14030
|
+
{
|
|
14031
|
+
"$ref": "folders.MailFolderId"
|
|
13966
14032
|
}
|
|
13967
14033
|
],
|
|
13968
14034
|
"description": "The folder to move the messages to."
|
|
@@ -14041,12 +14107,12 @@
|
|
|
14041
14107
|
{
|
|
14042
14108
|
"name": "destination",
|
|
14043
14109
|
"choices": [
|
|
14044
|
-
{
|
|
14045
|
-
"$ref": "folders.MailFolderId"
|
|
14046
|
-
},
|
|
14047
14110
|
{
|
|
14048
14111
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.copy() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
14049
14112
|
"$ref": "folders.MailFolder"
|
|
14113
|
+
},
|
|
14114
|
+
{
|
|
14115
|
+
"$ref": "folders.MailFolderId"
|
|
14050
14116
|
}
|
|
14051
14117
|
],
|
|
14052
14118
|
"description": "The folder to copy the messages to."
|
|
@@ -14135,12 +14201,12 @@
|
|
|
14135
14201
|
"deletePermanently": {
|
|
14136
14202
|
"type": "boolean",
|
|
14137
14203
|
"optional": true,
|
|
14138
|
-
"description": "Whether the message will be deleted permanently, regardless of the account's deletion behavior settings. Use this with care!"
|
|
14204
|
+
"description": "Whether the message will be deleted permanently, regardless of the account's deletion behavior settings. A permanently deleted message cannot be restored, even if the action is defined as a user action. Use this with care!"
|
|
14139
14205
|
},
|
|
14140
14206
|
"isUserAction": {
|
|
14141
14207
|
"type": "boolean",
|
|
14142
14208
|
"optional": true,
|
|
14143
|
-
"description": "Whether this copy operation should be treated as a user action, for example allowing undo.
|
|
14209
|
+
"description": "Whether this copy operation should be treated as a user action, for example allowing undo."
|
|
14144
14210
|
}
|
|
14145
14211
|
}
|
|
14146
14212
|
}
|
|
@@ -14168,12 +14234,12 @@
|
|
|
14168
14234
|
{
|
|
14169
14235
|
"name": "destination",
|
|
14170
14236
|
"choices": [
|
|
14171
|
-
{
|
|
14172
|
-
"$ref": "folders.MailFolderId"
|
|
14173
|
-
},
|
|
14174
14237
|
{
|
|
14175
14238
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.import() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
14176
14239
|
"$ref": "folders.MailFolder"
|
|
14240
|
+
},
|
|
14241
|
+
{
|
|
14242
|
+
"$ref": "folders.MailFolderId"
|
|
14177
14243
|
}
|
|
14178
14244
|
],
|
|
14179
14245
|
"description": "The folder to import the messages into."
|
|
@@ -14365,6 +14431,7 @@
|
|
|
14365
14431
|
},
|
|
14366
14432
|
{
|
|
14367
14433
|
"namespace": "messages.tags",
|
|
14434
|
+
"description": "The messages.tags API allows to manage the user's message tags.",
|
|
14368
14435
|
"types": [
|
|
14369
14436
|
{
|
|
14370
14437
|
"id": "MessageTag",
|
|
@@ -14635,6 +14702,7 @@
|
|
|
14635
14702
|
"messenger_utilities.json": [
|
|
14636
14703
|
{
|
|
14637
14704
|
"namespace": "messengerUtilities",
|
|
14705
|
+
"description": "The messengerUtilities API provides helpful methods for working with messages and emails.",
|
|
14638
14706
|
"types": [
|
|
14639
14707
|
{
|
|
14640
14708
|
"id": "ParsedMailbox",
|
|
@@ -14871,9 +14939,90 @@
|
|
|
14871
14939
|
]
|
|
14872
14940
|
}
|
|
14873
14941
|
],
|
|
14942
|
+
"oauth_provider.json": [
|
|
14943
|
+
{
|
|
14944
|
+
"namespace": "manifest",
|
|
14945
|
+
"types": [
|
|
14946
|
+
{
|
|
14947
|
+
"$extend": "WebExtensionManifest",
|
|
14948
|
+
"properties": {
|
|
14949
|
+
"oauth_provider": {
|
|
14950
|
+
"description": "Describes an OAuth authentication provider for Thunderbird to use when connecting to mail/address book/calendar services. You will need to have a client ID registered with the provider to use this API.",
|
|
14951
|
+
"type": "object",
|
|
14952
|
+
"properties": {
|
|
14953
|
+
"issuer": {
|
|
14954
|
+
"description": "A string to identify this provider in the login manager. This <em>should</em> match the hostname of the authorization endpoint, although that is not required.",
|
|
14955
|
+
"type": "string"
|
|
14956
|
+
},
|
|
14957
|
+
"clientId": {
|
|
14958
|
+
"description": "Identifies the OAuth client to the server.",
|
|
14959
|
+
"type": "string"
|
|
14960
|
+
},
|
|
14961
|
+
"clientSecret": {
|
|
14962
|
+
"description": "Identifies the OAuth client to the server.",
|
|
14963
|
+
"type": "string",
|
|
14964
|
+
"optional": true
|
|
14965
|
+
},
|
|
14966
|
+
"authorizationEndpoint": {
|
|
14967
|
+
"description": "OAuth authorization endpoint address.",
|
|
14968
|
+
"type": "string",
|
|
14969
|
+
"format": "url"
|
|
14970
|
+
},
|
|
14971
|
+
"tokenEndpoint": {
|
|
14972
|
+
"description": "OAuth token endpoint address.",
|
|
14973
|
+
"type": "string",
|
|
14974
|
+
"format": "url"
|
|
14975
|
+
},
|
|
14976
|
+
"redirectionEndpoint": {
|
|
14977
|
+
"description": "OAuth redirection endpoint.",
|
|
14978
|
+
"type": "string",
|
|
14979
|
+
"format": "url"
|
|
14980
|
+
},
|
|
14981
|
+
"usePKCE": {
|
|
14982
|
+
"description": "If the authorization uses PKCE.",
|
|
14983
|
+
"type": "boolean",
|
|
14984
|
+
"optional": true
|
|
14985
|
+
},
|
|
14986
|
+
"hostnames": {
|
|
14987
|
+
"description": "One or more hostnames which use this OAuth provider.",
|
|
14988
|
+
"type": "array",
|
|
14989
|
+
"items": {
|
|
14990
|
+
"type": "string"
|
|
14991
|
+
},
|
|
14992
|
+
"minItems": 1
|
|
14993
|
+
},
|
|
14994
|
+
"scopes": {
|
|
14995
|
+
"description": "The scopes to request when using this OAuth provider.",
|
|
14996
|
+
"type": "string"
|
|
14997
|
+
}
|
|
14998
|
+
},
|
|
14999
|
+
"optional": true
|
|
15000
|
+
}
|
|
15001
|
+
}
|
|
15002
|
+
}
|
|
15003
|
+
]
|
|
15004
|
+
}
|
|
15005
|
+
],
|
|
14874
15006
|
"sessions.json": [
|
|
15007
|
+
{
|
|
15008
|
+
"namespace": "manifest",
|
|
15009
|
+
"types": [
|
|
15010
|
+
{
|
|
15011
|
+
"$extend": "OptionalPermission",
|
|
15012
|
+
"choices": [
|
|
15013
|
+
{
|
|
15014
|
+
"type": "string",
|
|
15015
|
+
"enum": [
|
|
15016
|
+
"sessions"
|
|
15017
|
+
]
|
|
15018
|
+
}
|
|
15019
|
+
]
|
|
15020
|
+
}
|
|
15021
|
+
]
|
|
15022
|
+
},
|
|
14875
15023
|
{
|
|
14876
15024
|
"namespace": "sessions",
|
|
15025
|
+
"description": "The sessions API allows to add tab related session data to Thunderbird's tabs, which will be restored on app restart.",
|
|
14877
15026
|
"functions": [
|
|
14878
15027
|
{
|
|
14879
15028
|
"name": "setTabValue",
|
|
@@ -14950,6 +15099,7 @@
|
|
|
14950
15099
|
"spaces.json": [
|
|
14951
15100
|
{
|
|
14952
15101
|
"namespace": "spaces",
|
|
15102
|
+
"description": "The spaces API allows to manage built-in and custom spaces, and to add buttons for custom spaces to Thunderbird's spaces toolbar.",
|
|
14953
15103
|
"types": [
|
|
14954
15104
|
{
|
|
14955
15105
|
"id": "SpaceTabProperties",
|
|
@@ -14964,7 +15114,7 @@
|
|
|
14964
15114
|
"cookieStoreId": {
|
|
14965
15115
|
"type": "string",
|
|
14966
15116
|
"optional": true,
|
|
14967
|
-
"description": "The
|
|
15117
|
+
"description": "The $(url:cookieStore)[CookieStore] id used by the tab. Either a custom id created using the $(url:contextualIdentity)[contextualIdentities API], or a built-in one: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>."
|
|
14968
15118
|
},
|
|
14969
15119
|
"linkHandler": {
|
|
14970
15120
|
"type": "string",
|
|
@@ -15132,13 +15282,13 @@
|
|
|
15132
15282
|
"name": "tabProperties",
|
|
15133
15283
|
"choices": [
|
|
15134
15284
|
{
|
|
15135
|
-
"
|
|
15285
|
+
"type": "string"
|
|
15136
15286
|
},
|
|
15137
15287
|
{
|
|
15138
|
-
"
|
|
15288
|
+
"$ref": "spaces.SpaceTabProperties"
|
|
15139
15289
|
}
|
|
15140
15290
|
],
|
|
15141
|
-
"description": "The properties for the new tab being opened, when the associated button in the spaces toolbar is clicked. Either a <em>string</em>
|
|
15291
|
+
"description": "The properties for the new tab being opened, when the associated button in the spaces toolbar is clicked. Either a <em>string</em> specifying the default URL, or a $(ref:spaces.SpaceTabProperties) object. The URL may point to a WebExtension page or a web page."
|
|
15142
15292
|
},
|
|
15143
15293
|
{
|
|
15144
15294
|
"name": "buttonProperties",
|
|
@@ -15289,7 +15439,7 @@
|
|
|
15289
15439
|
"$ref": "spaces.SpaceButtonProperties"
|
|
15290
15440
|
}
|
|
15291
15441
|
],
|
|
15292
|
-
"description": "The properties for the new tab being opened, when the associated button in the spaces toolbar is clicked. Either a <em>string</em>
|
|
15442
|
+
"description": "The properties for the new tab being opened, when the associated button in the spaces toolbar is clicked. Either a <em>string</em> specifying the default URL, or a $(ref:spaces.SpaceTabProperties) object. The URL may point to a WebExtension page or a web page."
|
|
15293
15443
|
},
|
|
15294
15444
|
{
|
|
15295
15445
|
"name": "buttonProperties",
|
|
@@ -15338,6 +15488,7 @@
|
|
|
15338
15488
|
"spacesToolbar.json": [
|
|
15339
15489
|
{
|
|
15340
15490
|
"namespace": "spacesToolbar",
|
|
15491
|
+
"description": "The spacesToolbar API allows to manage built-in and custom spaces, and to add buttons for custom spaces to Thunderbird's spaces toolbar.",
|
|
15341
15492
|
"max_manifest_version": 2,
|
|
15342
15493
|
"types": [
|
|
15343
15494
|
{
|
|
@@ -15617,7 +15768,7 @@
|
|
|
15617
15768
|
"cookieStoreId": {
|
|
15618
15769
|
"type": "string",
|
|
15619
15770
|
"optional": true,
|
|
15620
|
-
"description": "The
|
|
15771
|
+
"description": "The $(url:cookieStore)[CookieStore] id used by the tab. Either a custom id created using the $(url:contextualIdentity)[contextualIdentities API], or a built-in one: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>."
|
|
15621
15772
|
},
|
|
15622
15773
|
"type": {
|
|
15623
15774
|
"$ref": "TabType",
|
|
@@ -15692,12 +15843,12 @@
|
|
|
15692
15843
|
"status",
|
|
15693
15844
|
"title"
|
|
15694
15845
|
],
|
|
15695
|
-
"description": "Event names supported in onUpdated."
|
|
15846
|
+
"description": "Event names supported in $(ref:tabs.onUpdated)."
|
|
15696
15847
|
},
|
|
15697
15848
|
{
|
|
15698
15849
|
"id": "UpdateFilter",
|
|
15699
15850
|
"type": "object",
|
|
15700
|
-
"description": "An object describing filters to apply to tabs.onUpdated events.",
|
|
15851
|
+
"description": "An object describing filters to apply to $(ref:tabs.onUpdated) events.",
|
|
15701
15852
|
"properties": {
|
|
15702
15853
|
"urls": {
|
|
15703
15854
|
"type": "array",
|
|
@@ -15782,7 +15933,7 @@
|
|
|
15782
15933
|
{
|
|
15783
15934
|
"name": "connect",
|
|
15784
15935
|
"type": "function",
|
|
15785
|
-
"description": "Connects to the content script(s) in the specified tab. The
|
|
15936
|
+
"description": "Connects to the content script(s) in the specified tab. The $(url:runtime-on-connect)[runtime.onConnect] event is fired in each content script running in the specified tab for the current extension. For more details, see $(url:content-scripts)[Content Script Messaging].",
|
|
15786
15937
|
"parameters": [
|
|
15787
15938
|
{
|
|
15788
15939
|
"type": "integer",
|
|
@@ -15816,7 +15967,7 @@
|
|
|
15816
15967
|
{
|
|
15817
15968
|
"name": "sendMessage",
|
|
15818
15969
|
"type": "function",
|
|
15819
|
-
"description": "Sends a single message to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The
|
|
15970
|
+
"description": "Sends a single message to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The $(url:runtime-on-message)[runtime.onMessage] event is fired in each content script running in the specified tab for the current extension.",
|
|
15820
15971
|
"async": "responseCallback",
|
|
15821
15972
|
"parameters": [
|
|
15822
15973
|
{
|
|
@@ -15849,7 +16000,7 @@
|
|
|
15849
16000
|
{
|
|
15850
16001
|
"name": "response",
|
|
15851
16002
|
"type": "any",
|
|
15852
|
-
"description": "The JSON response object sent by the handler of the message. If an error occurs while connecting to the specified tab, the callback will be called with no arguments and
|
|
16003
|
+
"description": "The JSON response object sent by the handler of the message. If an error occurs while connecting to the specified tab, the callback will be called with no arguments and $(url:runtime-last-error)[runtime.lastError] will be set to the error message."
|
|
15853
16004
|
}
|
|
15854
16005
|
]
|
|
15855
16006
|
}
|
|
@@ -15858,7 +16009,7 @@
|
|
|
15858
16009
|
{
|
|
15859
16010
|
"name": "create",
|
|
15860
16011
|
"type": "function",
|
|
15861
|
-
"description": "Creates a new content tab. To create message tabs, use the $(ref:messageDisplay.open). Only supported in <var>normal</var> windows. Same-site links in the loaded page are opened within Thunderbird, all other links are opened in the user's default browser. To override this behavior, add-ons have to register a
|
|
16012
|
+
"description": "Creates a new content tab. To create message tabs, use the $(ref:messageDisplay.open). Only supported in <var>normal</var> windows. Same-site links in the loaded page are opened within Thunderbird, all other links are opened in the user's default browser. To override this behavior, add-ons have to register a $(url:content-script-click-capture)[content script] , capture click events and handle them manually.",
|
|
15862
16013
|
"async": "callback",
|
|
15863
16014
|
"parameters": [
|
|
15864
16015
|
{
|
|
@@ -15891,7 +16042,7 @@
|
|
|
15891
16042
|
"cookieStoreId": {
|
|
15892
16043
|
"type": "string",
|
|
15893
16044
|
"optional": true,
|
|
15894
|
-
"description": "The
|
|
16045
|
+
"description": "The $(url:cookieStore)[CookieStore] id the new tab should use. Either a custom id created using the $(url:contextualIdentity)[contextualIdentities API], or a built-in one: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>."
|
|
15895
16046
|
},
|
|
15896
16047
|
"linkHandler": {
|
|
15897
16048
|
"type": "string",
|
|
@@ -16034,7 +16185,7 @@
|
|
|
16034
16185
|
}
|
|
16035
16186
|
],
|
|
16036
16187
|
"optional": true,
|
|
16037
|
-
"description": "Match tabs against one or more
|
|
16188
|
+
"description": "Match tabs against one or more $(url:match-patterns)[URL Patterns]. Fragment identifiers are not matched."
|
|
16038
16189
|
},
|
|
16039
16190
|
"windowId": {
|
|
16040
16191
|
"type": "integer",
|
|
@@ -16066,7 +16217,7 @@
|
|
|
16066
16217
|
}
|
|
16067
16218
|
],
|
|
16068
16219
|
"optional": true,
|
|
16069
|
-
"description": "The
|
|
16220
|
+
"description": "The $(url:cookieStore)[CookieStore] id(s) used by the tabs. Either custom ids created using the $(url:contextualIdentity)[contextualIdentities API], or built-in ones: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>."
|
|
16070
16221
|
}
|
|
16071
16222
|
}
|
|
16072
16223
|
},
|
|
@@ -16107,7 +16258,7 @@
|
|
|
16107
16258
|
"url": {
|
|
16108
16259
|
"type": "string",
|
|
16109
16260
|
"optional": true,
|
|
16110
|
-
"description": "A URL of a page to load. If the URL points to a content page (a web page, an extension page or a registered WebExtension protocol handler page), the tab will navigate to the requested page. All other URLs will be opened externally without changing the tab.
|
|
16261
|
+
"description": "A URL of a page to load. If the URL points to a content page (a web page, an extension page or a registered WebExtension protocol handler page), the tab will navigate to the requested page. All other URLs will be opened externally without changing the tab."
|
|
16111
16262
|
},
|
|
16112
16263
|
"active": {
|
|
16113
16264
|
"type": "boolean",
|
|
@@ -16133,7 +16284,7 @@
|
|
|
16133
16284
|
{
|
|
16134
16285
|
"name": "move",
|
|
16135
16286
|
"type": "function",
|
|
16136
|
-
"description": "Moves one or more tabs to a new position within its current window, or to a different window.
|
|
16287
|
+
"description": "Moves one or more tabs to a new position within its current window, or to a different window. Tabs can only be moved to and from windows of type <var>normal</var>.",
|
|
16137
16288
|
"async": "callback",
|
|
16138
16289
|
"parameters": [
|
|
16139
16290
|
{
|
|
@@ -16255,7 +16406,7 @@
|
|
|
16255
16406
|
"name": "executeScript",
|
|
16256
16407
|
"type": "function",
|
|
16257
16408
|
"max_manifest_version": 2,
|
|
16258
|
-
"description": "Injects JavaScript code into a page. For details, see the
|
|
16409
|
+
"description": "Injects JavaScript code into a page. For details, see the $(url:content-scripts)[programmatic injection] section of the content scripts doc.",
|
|
16259
16410
|
"async": "callback",
|
|
16260
16411
|
"parameters": [
|
|
16261
16412
|
{
|
|
@@ -16293,7 +16444,7 @@
|
|
|
16293
16444
|
"name": "insertCSS",
|
|
16294
16445
|
"type": "function",
|
|
16295
16446
|
"max_manifest_version": 2,
|
|
16296
|
-
"description": "Injects CSS into a page. For details, see the
|
|
16447
|
+
"description": "Injects CSS into a page. For details, see the $(url:content-scripts)[programmatic injection] section of the content scripts doc.",
|
|
16297
16448
|
"async": "callback",
|
|
16298
16449
|
"parameters": [
|
|
16299
16450
|
{
|
|
@@ -16321,7 +16472,7 @@
|
|
|
16321
16472
|
"name": "removeCSS",
|
|
16322
16473
|
"type": "function",
|
|
16323
16474
|
"max_manifest_version": 2,
|
|
16324
|
-
"description": "Removes injected CSS from a page. For details, see the
|
|
16475
|
+
"description": "Removes injected CSS from a page. For details, see the $(url:content-scripts)[programmatic injection] section of the content scripts doc.",
|
|
16325
16476
|
"async": "callback",
|
|
16326
16477
|
"parameters": [
|
|
16327
16478
|
{
|
|
@@ -16439,7 +16590,7 @@
|
|
|
16439
16590
|
{
|
|
16440
16591
|
"name": "onActivated",
|
|
16441
16592
|
"type": "function",
|
|
16442
|
-
"description": "Fires when the active tab in a window changes.
|
|
16593
|
+
"description": "Fires when the active tab in a window changes. The tab's URL may not be set at the time this event fired, listen to the $(ref:tabs.onUpdated) event instead to be notified when a URL is set.",
|
|
16443
16594
|
"parameters": [
|
|
16444
16595
|
{
|
|
16445
16596
|
"type": "object",
|
|
@@ -16792,7 +16943,7 @@
|
|
|
16792
16943
|
{
|
|
16793
16944
|
"name": "create",
|
|
16794
16945
|
"type": "function",
|
|
16795
|
-
"description": "Creates (opens) a new window with any optional sizing, position or default URL provided. When loading a page into a popup window, same-site links are opened within the same window, all other links are opened in the user's default browser. To override this behavior, add-ons have to register a
|
|
16946
|
+
"description": "Creates (opens) a new window with any optional sizing, position or default URL provided. When loading a page into a popup window, same-site links are opened within the same window, all other links are opened in the user's default browser. To override this behavior, add-ons have to register a $(url:content-script-click-capture)[content script] , capture click events and handle them manually. Same-site links with targets other than <var>_self</var> are opened in a new tab in the most recent <var>normal</var> Thunderbird window.",
|
|
16796
16947
|
"async": "callback",
|
|
16797
16948
|
"parameters": [
|
|
16798
16949
|
{
|
|
@@ -16875,7 +17026,7 @@
|
|
|
16875
17026
|
"cookieStoreId": {
|
|
16876
17027
|
"type": "string",
|
|
16877
17028
|
"optional": true,
|
|
16878
|
-
"description": "The
|
|
17029
|
+
"description": "The $(url:cookieStore)[CookieStore] id which all initially opened tabs should use. Either a custom id created using the $(url:contextualIdentity)[contextualIdentities API], or a built-in one: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>."
|
|
16879
17030
|
},
|
|
16880
17031
|
"linkHandler": {
|
|
16881
17032
|
"type": "string",
|
|
@@ -17061,7 +17212,7 @@
|
|
|
17061
17212
|
{
|
|
17062
17213
|
"name": "onFocusChanged",
|
|
17063
17214
|
"type": "function",
|
|
17064
|
-
"description": "Fired when the currently focused window changes. Will be $(ref:windows.WINDOW_ID_NONE), if all windows have lost focus.
|
|
17215
|
+
"description": "Fired when the currently focused window changes. Will be $(ref:windows.WINDOW_ID_NONE), if all windows have lost focus.",
|
|
17065
17216
|
"filters": [
|
|
17066
17217
|
{
|
|
17067
17218
|
"name": "windowTypes",
|