-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
60 lines (60 loc) · 1.51 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
59
60
{
"manifest_version": 3,
"name": "leetcode-extension",
"description": "leetcode solution archiver by jason-tung",
"version": "1.0",
"icons": {
"16": "jasbot-03.png",
"32": "jasbot-03.png",
"48": "jasbot-03.png",
"128": "jasbot-03.png"
},
"background": {
"service_worker": "background.js",
"type": "module"
},
"action": {
"default_icon": "jasbot-03.png",
"default_title": "Click to view a popup"
},
"content_scripts": [
{
"matches": ["https://*.leetcode.com/*"],
"js": ["script.js"]
}
],
"host_permissions": ["http://www.jasontung.me:3001/*"],
"permissions": [
"tabs",
"nativeMessaging",
"activeTab",
"scripting",
"downloads",
"storage"
],
"web_accessible_resources": [
{ "resources": ["config/secret.json"], "matches": ["<all_urls>"] }
],
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Alt+V",
"mac": "Alt+V"
}
},
"add_regular": {
"description": "add normal sols",
"suggested_key": {
"default": "Ctrl+B",
"mac": "Command+B"
}
},
"add_alternate": {
"description": "add alternative sols",
"suggested_key": {
"default": "Alt+B",
"mac": "Alt+B"
}
}
}
}