-
Notifications
You must be signed in to change notification settings - Fork 26
/
manifest.js
121 lines (121 loc) · 3.44 KB
/
manifest.js
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
this.manifest = {
"name": "Aria2c Integration",
"icon": "icons/icon64.png",
"settings": [
{
"tab": i18n.get("RPC"),
"name": "rpcpath",
"type": "text",
"label": i18n.get("JSONRPCPath"),
"text": i18n.get("JSONRPCPathExample")
},
{
"tab": i18n.get("RPC"),
"name": "rpcuser",
"type": "text",
"label": i18n.get("RPCUser")
},
{
"tab": i18n.get("RPC"),
"name": "rpcuserDescription",
"type": "description",
"text": i18n.get("rpcuserDescription")
},
{
"tab": i18n.get("RPC"),
"name": "rpctoken",
"type": "text",
"label": i18n.get("RPCToken"),
"masked": true
},
{
"tab": i18n.get("RPC"),
"name": "rpctokenDescription",
"type": "description",
"text": i18n.get("rpctokenDescription")
},
{
"tab": i18n.get("RPC"),
"name": "rpcsettingsDescription",
"type": "description",
"text": i18n.get("rpcsettingsDescription")
},
{
"tab": i18n.get("capture"),
"name": "captureCheckbox",
"type": "checkbox",
"label": i18n.get("enablecap")
},
{
"tab": i18n.get("capture"),
"group": i18n.get("sizerule"),
"name": "sizecaptureCheckbox",
"type": "checkbox",
"label": "Enable"
},
{
"tab": i18n.get("capture"),
"group": i18n.get("sizerule"),
"name": "filesizesetting",
"type": "text",
"label": i18n.get("filesize"),
"text": "500M"
},
{
"tab": i18n.get("capture"),
"group": i18n.get("sizerule"),
"name": "filesizeDescription",
"type": "description",
"text": i18n.get("filesizeDescription")
},
{
"tab": i18n.get("capture"),
"group": i18n.get("whitelisttype"),
"name": "whitelisttype",
"type": "textarea",
},
{
"tab": i18n.get("capture"),
"group": i18n.get("whitelisttype"),
"name": "whitelisttypeDescription",
"type": "description",
"text": i18n.get("whitelisttypeDescription")
},
{
"tab": i18n.get("capture"),
"group": i18n.get("whitelistsite"),
"name": "whitelistsite",
"type": "textarea",
},
{
"tab": i18n.get("capture"),
"group": i18n.get("whitelistsite"),
"name": "whitelistsiteDescription",
"type": "description",
"text": i18n.get("whitelistsiteDescription")
},
{
"tab": i18n.get("capture"),
"group": i18n.get("blacklistsite"),
"name": "blacklistsite",
"type": "textarea",
},
{
"tab": i18n.get("capture"),
"group": i18n.get("blacklistsite"),
"name": "blacklistsiteDescription",
"type": "description",
"text": i18n.get("blacklistsiteDescription")
},
],
"alignment": [
[
"rpcpath",
"rpcuser",
"rpctoken"
],
[
"filesizesetting",
],
]
};