webext-schema 5.3.1 → 5.3.3
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 +7 -7
- package/schemas/beta/webext.json +187 -3
- package/schemas/central/webext.json +145 -10
- package/schemas/mail/mailext.json +1121 -103
- package/schemas/release/webext.json +187 -3
package/package.json
CHANGED
|
@@ -14,27 +14,27 @@
|
|
|
14
14
|
"types": "types/index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"camelize": "^1.0.1",
|
|
17
|
-
"commander": "^12.
|
|
17
|
+
"commander": "^12.1.0",
|
|
18
18
|
"decamelize": "^6.0.0",
|
|
19
19
|
"json5": "^2.2.3",
|
|
20
|
-
"sinon": "^
|
|
20
|
+
"sinon": "^18.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/firefox-webext-browser": "^120.0.3",
|
|
24
|
-
"@types/node": "^20.
|
|
24
|
+
"@types/node": "^20.14.2",
|
|
25
25
|
"@types/sinon": "^17.0.3",
|
|
26
26
|
"c8": "^9.1.0",
|
|
27
27
|
"chai": "^5.1.1",
|
|
28
28
|
"eslint": "^8.57.0",
|
|
29
29
|
"eslint-config-standard": "^17.1.0",
|
|
30
30
|
"eslint-plugin-import": "^2.29.1",
|
|
31
|
-
"eslint-plugin-jsdoc": "^48.2.
|
|
32
|
-
"eslint-plugin-regexp": "^2.
|
|
31
|
+
"eslint-plugin-jsdoc": "^48.2.9",
|
|
32
|
+
"eslint-plugin-regexp": "^2.6.0",
|
|
33
33
|
"eslint-plugin-unicorn": "^53.0.0",
|
|
34
34
|
"mocha": "^10.4.0",
|
|
35
35
|
"npm-run-all": "^4.1.5",
|
|
36
36
|
"typescript": "^5.4.5",
|
|
37
|
-
"undici": "^6.
|
|
37
|
+
"undici": "^6.18.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "npm run tsc && npm run lint && npm run test",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"update-mail": "node index update --channel=mail -i",
|
|
55
55
|
"update-release": "node index update --channel=release -i"
|
|
56
56
|
},
|
|
57
|
-
"version": "5.3.
|
|
57
|
+
"version": "5.3.3"
|
|
58
58
|
}
|
package/schemas/beta/webext.json
CHANGED
|
@@ -9981,6 +9981,20 @@
|
|
|
9981
9981
|
}
|
|
9982
9982
|
}
|
|
9983
9983
|
}
|
|
9984
|
+
},
|
|
9985
|
+
{
|
|
9986
|
+
"id": "GetRulesFilter",
|
|
9987
|
+
"type": "object",
|
|
9988
|
+
"properties": {
|
|
9989
|
+
"ruleIds": {
|
|
9990
|
+
"type": "array",
|
|
9991
|
+
"optional": true,
|
|
9992
|
+
"description": "If specified, only rules with matching IDs are included.",
|
|
9993
|
+
"items": {
|
|
9994
|
+
"type": "integer"
|
|
9995
|
+
}
|
|
9996
|
+
}
|
|
9997
|
+
}
|
|
9984
9998
|
}
|
|
9985
9999
|
],
|
|
9986
10000
|
"functions": [
|
|
@@ -10136,6 +10150,12 @@
|
|
|
10136
10150
|
"description": "Returns the current set of dynamic rules for the extension.",
|
|
10137
10151
|
"async": "callback",
|
|
10138
10152
|
"parameters": [
|
|
10153
|
+
{
|
|
10154
|
+
"name": "filter",
|
|
10155
|
+
"$ref": "GetRulesFilter",
|
|
10156
|
+
"optional": true,
|
|
10157
|
+
"description": "An object to filter the set of dynamic rules for the extension."
|
|
10158
|
+
},
|
|
10139
10159
|
{
|
|
10140
10160
|
"name": "callback",
|
|
10141
10161
|
"type": "function",
|
|
@@ -10157,6 +10177,12 @@
|
|
|
10157
10177
|
"description": "Returns the current set of session scoped rules for the extension.",
|
|
10158
10178
|
"async": "callback",
|
|
10159
10179
|
"parameters": [
|
|
10180
|
+
{
|
|
10181
|
+
"name": "filter",
|
|
10182
|
+
"$ref": "GetRulesFilter",
|
|
10183
|
+
"optional": true,
|
|
10184
|
+
"description": "An object to filter the set of session scoped rules for the extension."
|
|
10185
|
+
},
|
|
10160
10186
|
{
|
|
10161
10187
|
"name": "callback",
|
|
10162
10188
|
"type": "function",
|
|
@@ -12312,7 +12338,8 @@
|
|
|
12312
12338
|
"power",
|
|
12313
12339
|
"responsiveness",
|
|
12314
12340
|
"cpufreq",
|
|
12315
|
-
"bandwidth"
|
|
12341
|
+
"bandwidth",
|
|
12342
|
+
"memory"
|
|
12316
12343
|
]
|
|
12317
12344
|
},
|
|
12318
12345
|
{
|
|
@@ -12969,12 +12996,13 @@
|
|
|
12969
12996
|
},
|
|
12970
12997
|
{
|
|
12971
12998
|
"id": "ExtensionInstallType",
|
|
12972
|
-
"description": "How the extension was installed. One of<br><var>development</var>: The extension was loaded unpacked in developer mode,<br><var>normal</var>: The extension was installed normally via an .xpi file,<br><var>sideload</var>: The extension was installed by other software on the machine,<br><var>other</var>: The extension was installed by other means.",
|
|
12999
|
+
"description": "How the extension was installed. One of<br><var>development</var>: The extension was loaded unpacked in developer mode,<br><var>normal</var>: The extension was installed normally via an .xpi file,<br><var>sideload</var>: The extension was installed by other software on the machine,<br><var>admin</var>: The extension was installed by policy,<br><var>other</var>: The extension was installed by other means.",
|
|
12973
13000
|
"type": "string",
|
|
12974
13001
|
"enum": [
|
|
12975
13002
|
"development",
|
|
12976
13003
|
"normal",
|
|
12977
13004
|
"sideload",
|
|
13005
|
+
"admin",
|
|
12978
13006
|
"other"
|
|
12979
13007
|
]
|
|
12980
13008
|
},
|
|
@@ -13417,10 +13445,13 @@
|
|
|
13417
13445
|
},
|
|
13418
13446
|
"incognito": {
|
|
13419
13447
|
"type": "string",
|
|
13448
|
+
"description": "The 'split' value is not supported.",
|
|
13420
13449
|
"enum": [
|
|
13421
13450
|
"not_allowed",
|
|
13422
|
-
"spanning"
|
|
13451
|
+
"spanning",
|
|
13452
|
+
"split"
|
|
13423
13453
|
],
|
|
13454
|
+
"postprocess": "incognitoSplitUnsupportedAndFallback",
|
|
13424
13455
|
"default": "spanning",
|
|
13425
13456
|
"optional": true
|
|
13426
13457
|
},
|
|
@@ -15725,6 +15756,132 @@
|
|
|
15725
15756
|
],
|
|
15726
15757
|
"description": "Use the <code>browser.runtime</code> API to retrieve the background page, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.",
|
|
15727
15758
|
"types": [
|
|
15759
|
+
{
|
|
15760
|
+
"id": "ContextFilter",
|
|
15761
|
+
"min_manifest_version": 3,
|
|
15762
|
+
"type": "object",
|
|
15763
|
+
"description": "A filter to match against existing extension context. Matching contexts must match all specified filters.",
|
|
15764
|
+
"properties": {
|
|
15765
|
+
"contextIds": {
|
|
15766
|
+
"optional": true,
|
|
15767
|
+
"type": "array",
|
|
15768
|
+
"items": {
|
|
15769
|
+
"type": "string"
|
|
15770
|
+
}
|
|
15771
|
+
},
|
|
15772
|
+
"contextTypes": {
|
|
15773
|
+
"optional": true,
|
|
15774
|
+
"type": "array",
|
|
15775
|
+
"items": {
|
|
15776
|
+
"$ref": "ContextType"
|
|
15777
|
+
}
|
|
15778
|
+
},
|
|
15779
|
+
"documentIds": {
|
|
15780
|
+
"optional": true,
|
|
15781
|
+
"type": "array",
|
|
15782
|
+
"items": {
|
|
15783
|
+
"type": "string"
|
|
15784
|
+
}
|
|
15785
|
+
},
|
|
15786
|
+
"documentOrigins": {
|
|
15787
|
+
"optional": true,
|
|
15788
|
+
"type": "array",
|
|
15789
|
+
"items": {
|
|
15790
|
+
"type": "string"
|
|
15791
|
+
}
|
|
15792
|
+
},
|
|
15793
|
+
"documentUrls": {
|
|
15794
|
+
"optional": true,
|
|
15795
|
+
"type": "array",
|
|
15796
|
+
"items": {
|
|
15797
|
+
"type": "string"
|
|
15798
|
+
}
|
|
15799
|
+
},
|
|
15800
|
+
"frameIds": {
|
|
15801
|
+
"optional": true,
|
|
15802
|
+
"type": "array",
|
|
15803
|
+
"items": {
|
|
15804
|
+
"type": "integer"
|
|
15805
|
+
}
|
|
15806
|
+
},
|
|
15807
|
+
"tabIds": {
|
|
15808
|
+
"optional": true,
|
|
15809
|
+
"type": "array",
|
|
15810
|
+
"items": {
|
|
15811
|
+
"type": "integer"
|
|
15812
|
+
}
|
|
15813
|
+
},
|
|
15814
|
+
"windowIds": {
|
|
15815
|
+
"optional": true,
|
|
15816
|
+
"type": "array",
|
|
15817
|
+
"items": {
|
|
15818
|
+
"type": "integer"
|
|
15819
|
+
}
|
|
15820
|
+
},
|
|
15821
|
+
"incognito": {
|
|
15822
|
+
"optional": true,
|
|
15823
|
+
"type": "boolean"
|
|
15824
|
+
}
|
|
15825
|
+
}
|
|
15826
|
+
},
|
|
15827
|
+
{
|
|
15828
|
+
"id": "ContextType",
|
|
15829
|
+
"type": "string",
|
|
15830
|
+
"enum": [
|
|
15831
|
+
"BACKGROUND",
|
|
15832
|
+
"POPUP",
|
|
15833
|
+
"SIDE_PANEL",
|
|
15834
|
+
"TAB"
|
|
15835
|
+
],
|
|
15836
|
+
"description": "The type of extension view."
|
|
15837
|
+
},
|
|
15838
|
+
{
|
|
15839
|
+
"id": "ExtensionContext",
|
|
15840
|
+
"type": "object",
|
|
15841
|
+
"description": "A context hosting extension content",
|
|
15842
|
+
"properties": {
|
|
15843
|
+
"contextId": {
|
|
15844
|
+
"type": "string",
|
|
15845
|
+
"description": "An unique identifier associated to this context"
|
|
15846
|
+
},
|
|
15847
|
+
"contextType": {
|
|
15848
|
+
"$ref": "ContextType",
|
|
15849
|
+
"description": "The type of the context"
|
|
15850
|
+
},
|
|
15851
|
+
"documentId": {
|
|
15852
|
+
"type": "string",
|
|
15853
|
+
"unsupported": true,
|
|
15854
|
+
"optional": true,
|
|
15855
|
+
"description": "An UUID for the document associated with this context, or undefined if it is not hosted in a document"
|
|
15856
|
+
},
|
|
15857
|
+
"documentOrigin": {
|
|
15858
|
+
"type": "string",
|
|
15859
|
+
"optional": true,
|
|
15860
|
+
"description": "The origin of the document associated with this context, or undefined if it is not hosted in a document"
|
|
15861
|
+
},
|
|
15862
|
+
"documentUrl": {
|
|
15863
|
+
"type": "string",
|
|
15864
|
+
"optional": true,
|
|
15865
|
+
"description": "The URL of the document associated with this context, or undefined if it is not hosted in a document"
|
|
15866
|
+
},
|
|
15867
|
+
"incognito": {
|
|
15868
|
+
"type": "boolean",
|
|
15869
|
+
"description": "Whether the context is associated with an private browsing context."
|
|
15870
|
+
},
|
|
15871
|
+
"frameId": {
|
|
15872
|
+
"type": "integer",
|
|
15873
|
+
"description": "The frame ID for this context, or -1 if it is not hosted in a frame."
|
|
15874
|
+
},
|
|
15875
|
+
"tabId": {
|
|
15876
|
+
"type": "integer",
|
|
15877
|
+
"description": "The tab ID for this context, or -1 if it is not hosted in a tab."
|
|
15878
|
+
},
|
|
15879
|
+
"windowId": {
|
|
15880
|
+
"type": "integer",
|
|
15881
|
+
"description": "The window ID for this context, or -1 if it is not hosted in a window."
|
|
15882
|
+
}
|
|
15883
|
+
}
|
|
15884
|
+
},
|
|
15728
15885
|
{
|
|
15729
15886
|
"id": "Port",
|
|
15730
15887
|
"type": "object",
|
|
@@ -15994,6 +16151,33 @@
|
|
|
15994
16151
|
}
|
|
15995
16152
|
]
|
|
15996
16153
|
},
|
|
16154
|
+
{
|
|
16155
|
+
"name": "getContexts",
|
|
16156
|
+
"type": "function",
|
|
16157
|
+
"description": "Fetches information about active contexts associated with this extension",
|
|
16158
|
+
"async": "callback",
|
|
16159
|
+
"parameters": [
|
|
16160
|
+
{
|
|
16161
|
+
"name": "filter",
|
|
16162
|
+
"$ref": "ContextFilter",
|
|
16163
|
+
"description": "A filter to find matching context."
|
|
16164
|
+
},
|
|
16165
|
+
{
|
|
16166
|
+
"type": "function",
|
|
16167
|
+
"name": "callback",
|
|
16168
|
+
"parameters": [
|
|
16169
|
+
{
|
|
16170
|
+
"name": "contexts",
|
|
16171
|
+
"type": "array",
|
|
16172
|
+
"items": {
|
|
16173
|
+
"$ref": "ExtensionContext"
|
|
16174
|
+
},
|
|
16175
|
+
"description": "The matching contexts, if any."
|
|
16176
|
+
}
|
|
16177
|
+
]
|
|
16178
|
+
}
|
|
16179
|
+
]
|
|
16180
|
+
},
|
|
15997
16181
|
{
|
|
15998
16182
|
"name": "openOptionsPage",
|
|
15999
16183
|
"type": "function",
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
},
|
|
919
919
|
{
|
|
920
920
|
"name": "tab",
|
|
921
|
-
"$ref": "
|
|
921
|
+
"$ref": "tabs.Tab",
|
|
922
922
|
"optional": true,
|
|
923
923
|
"description": "Details of the $(ref:tabs.Tab) where the command was activated."
|
|
924
924
|
}
|
|
@@ -8723,13 +8723,23 @@
|
|
|
8723
8723
|
"matchAboutBlank": {
|
|
8724
8724
|
"type": "boolean",
|
|
8725
8725
|
"optional": true,
|
|
8726
|
-
"description": "If matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document.
|
|
8726
|
+
"description": "If matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document. Ignored if matchOriginAsFallback is specified. By default it is <code>false</code>."
|
|
8727
|
+
},
|
|
8728
|
+
"matchOriginAsFallback": {
|
|
8729
|
+
"type": "boolean",
|
|
8730
|
+
"optional": true,
|
|
8731
|
+
"description": "If matchOriginAsFallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in 'matches', even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in 'matches' must specify a wildcard path glob. By default it is <code>false</code>."
|
|
8727
8732
|
},
|
|
8728
8733
|
"runAt": {
|
|
8729
8734
|
"$ref": "extensionTypes.RunAt",
|
|
8730
8735
|
"optional": true,
|
|
8731
8736
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab. Defaults to \"document_idle\"."
|
|
8732
8737
|
},
|
|
8738
|
+
"world": {
|
|
8739
|
+
"$ref": "extensionTypes.ExecutionWorld",
|
|
8740
|
+
"optional": true,
|
|
8741
|
+
"description": "The JavaScript world for a script to execute within. Defaults to \"ISOLATED\"."
|
|
8742
|
+
},
|
|
8733
8743
|
"cookieStoreId": {
|
|
8734
8744
|
"choices": [
|
|
8735
8745
|
{
|
|
@@ -10094,7 +10104,7 @@
|
|
|
10094
10104
|
{
|
|
10095
10105
|
"name": "updateEnabledRulesets",
|
|
10096
10106
|
"type": "function",
|
|
10097
|
-
"description": "
|
|
10107
|
+
"description": "Modifies the static rulesets enabled/disabled state.",
|
|
10098
10108
|
"async": "callback",
|
|
10099
10109
|
"parameters": [
|
|
10100
10110
|
{
|
|
@@ -10126,6 +10136,44 @@
|
|
|
10126
10136
|
}
|
|
10127
10137
|
]
|
|
10128
10138
|
},
|
|
10139
|
+
{
|
|
10140
|
+
"name": "updateStaticRules",
|
|
10141
|
+
"type": "function",
|
|
10142
|
+
"description": "Modified individual static rules enabled/disabled state. Changes to rules belonging to a disabled ruleset will take effect when the ruleset becomes enabled.",
|
|
10143
|
+
"async": "callback",
|
|
10144
|
+
"parameters": [
|
|
10145
|
+
{
|
|
10146
|
+
"name": "options",
|
|
10147
|
+
"type": "object",
|
|
10148
|
+
"properties": {
|
|
10149
|
+
"rulesetId": {
|
|
10150
|
+
"type": "string"
|
|
10151
|
+
},
|
|
10152
|
+
"disableRuleIds": {
|
|
10153
|
+
"type": "array",
|
|
10154
|
+
"items": {
|
|
10155
|
+
"type": "integer"
|
|
10156
|
+
},
|
|
10157
|
+
"optional": true,
|
|
10158
|
+
"default": []
|
|
10159
|
+
},
|
|
10160
|
+
"enableRuleIds": {
|
|
10161
|
+
"type": "array",
|
|
10162
|
+
"items": {
|
|
10163
|
+
"type": "integer"
|
|
10164
|
+
},
|
|
10165
|
+
"optional": true,
|
|
10166
|
+
"default": []
|
|
10167
|
+
}
|
|
10168
|
+
}
|
|
10169
|
+
},
|
|
10170
|
+
{
|
|
10171
|
+
"name": "callback",
|
|
10172
|
+
"type": "function",
|
|
10173
|
+
"parameters": []
|
|
10174
|
+
}
|
|
10175
|
+
]
|
|
10176
|
+
},
|
|
10129
10177
|
{
|
|
10130
10178
|
"name": "getAvailableStaticRuleCount",
|
|
10131
10179
|
"type": "function",
|
|
@@ -10144,6 +10192,36 @@
|
|
|
10144
10192
|
}
|
|
10145
10193
|
]
|
|
10146
10194
|
},
|
|
10195
|
+
{
|
|
10196
|
+
"name": "getDisabledRuleIds",
|
|
10197
|
+
"type": "function",
|
|
10198
|
+
"description": "Returns the list of individual disabled static rules from a given static ruleset id.",
|
|
10199
|
+
"async": "callback",
|
|
10200
|
+
"parameters": [
|
|
10201
|
+
{
|
|
10202
|
+
"name": "options",
|
|
10203
|
+
"type": "object",
|
|
10204
|
+
"properties": {
|
|
10205
|
+
"rulesetId": {
|
|
10206
|
+
"type": "string"
|
|
10207
|
+
}
|
|
10208
|
+
}
|
|
10209
|
+
},
|
|
10210
|
+
{
|
|
10211
|
+
"name": "callback",
|
|
10212
|
+
"type": "function",
|
|
10213
|
+
"parameters": [
|
|
10214
|
+
{
|
|
10215
|
+
"name": "disabledRuleIds",
|
|
10216
|
+
"type": "array",
|
|
10217
|
+
"items": {
|
|
10218
|
+
"type": "integer"
|
|
10219
|
+
}
|
|
10220
|
+
}
|
|
10221
|
+
]
|
|
10222
|
+
}
|
|
10223
|
+
]
|
|
10224
|
+
},
|
|
10147
10225
|
{
|
|
10148
10226
|
"name": "getDynamicRules",
|
|
10149
10227
|
"type": "function",
|
|
@@ -10339,13 +10417,25 @@
|
|
|
10339
10417
|
"type": "number",
|
|
10340
10418
|
"description": "The maximum number of static Rulesets an extension can specify as part of the rule_resources manifest key."
|
|
10341
10419
|
},
|
|
10420
|
+
"MAX_NUMBER_OF_DISABLED_STATIC_RULES": {
|
|
10421
|
+
"type": "number",
|
|
10422
|
+
"description": "The maximum number of static rules that can be disabled on each static ruleset."
|
|
10423
|
+
},
|
|
10342
10424
|
"MAX_NUMBER_OF_ENABLED_STATIC_RULESETS": {
|
|
10343
10425
|
"type": "number",
|
|
10344
10426
|
"description": "The maximum number of static Rulesets an extension can enable at any one time."
|
|
10345
10427
|
},
|
|
10346
10428
|
"MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES": {
|
|
10347
10429
|
"type": "number",
|
|
10348
|
-
"description": "
|
|
10430
|
+
"description": "Deprecated property returning the maximum number of dynamic and session rules an extension can add, replaced by MAX_NUMBER_OF_DYNAMIC_RULES/MAX_NUMBER_OF_SESSION_RULES."
|
|
10431
|
+
},
|
|
10432
|
+
"MAX_NUMBER_OF_DYNAMIC_RULES": {
|
|
10433
|
+
"type": "number",
|
|
10434
|
+
"description": "The maximum number of dynamic session rules an extension can add."
|
|
10435
|
+
},
|
|
10436
|
+
"MAX_NUMBER_OF_SESSION_RULES": {
|
|
10437
|
+
"type": "number",
|
|
10438
|
+
"description": "The maximum number of dynamic session rules an extension can add."
|
|
10349
10439
|
},
|
|
10350
10440
|
"MAX_NUMBER_OF_REGEX_RULES": {
|
|
10351
10441
|
"type": "number",
|
|
@@ -12075,6 +12165,15 @@
|
|
|
12075
12165
|
],
|
|
12076
12166
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab."
|
|
12077
12167
|
},
|
|
12168
|
+
{
|
|
12169
|
+
"id": "ExecutionWorld",
|
|
12170
|
+
"type": "string",
|
|
12171
|
+
"enum": [
|
|
12172
|
+
"ISOLATED",
|
|
12173
|
+
"MAIN"
|
|
12174
|
+
],
|
|
12175
|
+
"description": "The JavaScript world for a script to execute within. <code>ISOLATED</code> is the default execution environment of content scripts, <code>MAIN</code> is the web page's execution environment."
|
|
12176
|
+
},
|
|
12078
12177
|
{
|
|
12079
12178
|
"id": "CSSOrigin",
|
|
12080
12179
|
"type": "string",
|
|
@@ -13616,6 +13715,16 @@
|
|
|
13616
13715
|
"optional": true,
|
|
13617
13716
|
"default": []
|
|
13618
13717
|
},
|
|
13718
|
+
"optional_host_permissions": {
|
|
13719
|
+
"min_manifest_version": 3,
|
|
13720
|
+
"type": "array",
|
|
13721
|
+
"items": {
|
|
13722
|
+
"$ref": "MatchPattern",
|
|
13723
|
+
"onError": "warn"
|
|
13724
|
+
},
|
|
13725
|
+
"optional": true,
|
|
13726
|
+
"default": []
|
|
13727
|
+
},
|
|
13619
13728
|
"optional_permissions": {
|
|
13620
13729
|
"type": "array",
|
|
13621
13730
|
"items": {
|
|
@@ -13980,6 +14089,9 @@
|
|
|
13980
14089
|
"type": "string",
|
|
13981
14090
|
"optional": true
|
|
13982
14091
|
}
|
|
14092
|
+
},
|
|
14093
|
+
"additionalProperties": {
|
|
14094
|
+
"$ref": "UnrecognizedProperty"
|
|
13983
14095
|
}
|
|
13984
14096
|
},
|
|
13985
14097
|
{
|
|
@@ -13996,7 +14108,7 @@
|
|
|
13996
14108
|
}
|
|
13997
14109
|
},
|
|
13998
14110
|
"additionalProperties": {
|
|
13999
|
-
"
|
|
14111
|
+
"$ref": "UnrecognizedProperty"
|
|
14000
14112
|
}
|
|
14001
14113
|
},
|
|
14002
14114
|
{
|
|
@@ -14137,13 +14249,24 @@
|
|
|
14137
14249
|
"match_about_blank": {
|
|
14138
14250
|
"type": "boolean",
|
|
14139
14251
|
"optional": true,
|
|
14140
|
-
"description": "If
|
|
14252
|
+
"description": "If match_about_blank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document. Ignored if match_origin_as_fallback is specified. By default it is <code>false</code>."
|
|
14253
|
+
},
|
|
14254
|
+
"match_origin_as_fallback": {
|
|
14255
|
+
"type": "boolean",
|
|
14256
|
+
"optional": true,
|
|
14257
|
+
"description": "If match_origin_as_fallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in 'matches', even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in 'matches' must specify a wildcard path glob. By default it is <code>false</code>."
|
|
14141
14258
|
},
|
|
14142
14259
|
"run_at": {
|
|
14143
14260
|
"$ref": "extensionTypes.RunAt",
|
|
14144
14261
|
"optional": true,
|
|
14145
14262
|
"default": "document_idle",
|
|
14146
14263
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab. Defaults to \"document_idle\"."
|
|
14264
|
+
},
|
|
14265
|
+
"world": {
|
|
14266
|
+
"$ref": "extensionTypes.ExecutionWorld",
|
|
14267
|
+
"optional": true,
|
|
14268
|
+
"default": "ISOLATED",
|
|
14269
|
+
"description": "The JavaScript world for a script to execute within. Defaults to \"ISOLATED\"."
|
|
14147
14270
|
}
|
|
14148
14271
|
}
|
|
14149
14272
|
},
|
|
@@ -15392,7 +15515,7 @@
|
|
|
15392
15515
|
"proxyDNS": {
|
|
15393
15516
|
"type": "boolean",
|
|
15394
15517
|
"optional": true,
|
|
15395
|
-
"description": "Proxy DNS when using SOCKS v5."
|
|
15518
|
+
"description": "Proxy DNS when using SOCKS. DNS queries get leaked to the network when set to false. True by default for SOCKS v5. False by default for SOCKS v4."
|
|
15396
15519
|
},
|
|
15397
15520
|
"respectBeConservative": {
|
|
15398
15521
|
"type": "boolean",
|
|
@@ -16895,9 +17018,10 @@
|
|
|
16895
17018
|
"id": "ExecutionWorld",
|
|
16896
17019
|
"type": "string",
|
|
16897
17020
|
"enum": [
|
|
16898
|
-
"ISOLATED"
|
|
17021
|
+
"ISOLATED",
|
|
17022
|
+
"MAIN"
|
|
16899
17023
|
],
|
|
16900
|
-
"description": "The JavaScript world for a script to execute within.
|
|
17024
|
+
"description": "The JavaScript world for a script to execute within. <code>ISOLATED</code> is the default execution environment of content scripts, <code>MAIN</code> is the web page's execution environment."
|
|
16901
17025
|
},
|
|
16902
17026
|
{
|
|
16903
17027
|
"id": "RegisteredContentScript",
|
|
@@ -16936,11 +17060,21 @@
|
|
|
16936
17060
|
"type": "string"
|
|
16937
17061
|
}
|
|
16938
17062
|
},
|
|
17063
|
+
"matchOriginAsFallback": {
|
|
17064
|
+
"type": "boolean",
|
|
17065
|
+
"optional": true,
|
|
17066
|
+
"description": "If matchOriginAsFallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in 'matches', even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in 'matches' must specify a wildcard path glob. By default it is <code>false</code>."
|
|
17067
|
+
},
|
|
16939
17068
|
"runAt": {
|
|
16940
17069
|
"$ref": "extensionTypes.RunAt",
|
|
16941
17070
|
"optional": true,
|
|
16942
17071
|
"description": "Specifies when JavaScript files are injected into the web page. The preferred and default value is <code>document_idle</code>."
|
|
16943
17072
|
},
|
|
17073
|
+
"world": {
|
|
17074
|
+
"$ref": "ExecutionWorld",
|
|
17075
|
+
"optional": true,
|
|
17076
|
+
"description": "The JavaScript world for a script to execute within. Defaults to \"ISOLATED\"."
|
|
17077
|
+
},
|
|
16944
17078
|
"persistAcrossSessions": {
|
|
16945
17079
|
"type": "boolean",
|
|
16946
17080
|
"optional": true,
|
|
@@ -21004,7 +21138,7 @@
|
|
|
21004
21138
|
{
|
|
21005
21139
|
"type": "function",
|
|
21006
21140
|
"optional": true,
|
|
21007
|
-
"name": "
|
|
21141
|
+
"name": "asyncCallback",
|
|
21008
21142
|
"parameters": [
|
|
21009
21143
|
{
|
|
21010
21144
|
"name": "response",
|
|
@@ -21023,6 +21157,7 @@
|
|
|
21023
21157
|
"type": "array",
|
|
21024
21158
|
"optional": true,
|
|
21025
21159
|
"name": "extraInfoSpec",
|
|
21160
|
+
"postprocess": "mutuallyExclusiveBlockingOrAsyncBlocking",
|
|
21026
21161
|
"description": "Array of extra information that should be passed to the listener function.",
|
|
21027
21162
|
"items": {
|
|
21028
21163
|
"$ref": "OnAuthRequiredOptions"
|