-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
58 lines (58 loc) · 1.09 KB
/
manifest.json
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
47
48
49
50
51
52
53
54
55
56
57
58
{
"manifest_version": 1,
"script": "demo.js",
"config": {
"groups": [
{
"name": "Test Config Options",
"options": [
{
"id": "your_name",
"type": "string",
"label": "Whats your name?",
"default": "John Smith"
},
{
"id": "age",
"type": "integer",
"label": "Whats your age?",
"min": 13,
"max": 100
},
{
"id": "search_engine_url",
"type": "choice",
"label": "What's your favorite search engine?",
"default": "duckduckgo.com/",
"choices": {
"Google": "google.com/search",
"DuckDuckGo": "duckduckgo.com/",
"Bing": "bing.com/search"
}
},
{
"id": "look_me_up",
"type": "boolean",
"label": "Search me on the internet",
"default": true
}
]
},
{
"name": "More options",
"options": [
{
"id": "secret",
"type": "password",
"label": "What's the worst password you can think of?"
},
{
"id": "math_result",
"type": "number",
"label": "What's 9 / 2 ?"
}
]
}
]
}
}