-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathBrowser.json
More file actions
46 lines (46 loc) · 1.52 KB
/
Browser.json
File metadata and controls
46 lines (46 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"domain": "Browser",
"description": "The Browser domain contains commands and events related to getting information about the browser ",
"debuggableTypes": ["web-page"],
"targetTypes": ["web-page"],
"types": [
{
"id": "ExtensionId",
"type": "string",
"description": "Unique extension identifier."
},
{
"id": "Extension",
"type": "object",
"description": "Information about an extension.",
"properties": [
{ "name": "extensionId", "$ref": "ExtensionId", "description": "Extension identifier." },
{ "name": "name", "type": "string", "description": "The display name for the extension." }
]
}
],
"commands": [
{
"name": "enable",
"description": "Enables Browser domain events."
},
{
"name": "disable",
"description": "Disables Browser domain events."
}
],
"events": [
{
"name": "extensionsEnabled",
"parameters": [
{ "name": "extensions", "type": "array", "items": { "$ref": "Extension" }, "description": "Information about the enabled extensions." }
]
},
{
"name": "extensionsDisabled",
"parameters": [
{ "name": "extensionIds", "type": "array", "items": { "$ref": "ExtensionId" }, "description": "Disabled extension identifiers." }
]
}
]
}