-
Notifications
You must be signed in to change notification settings - Fork 15
/
manifest.json
74 lines (74 loc) · 1.82 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"manifest_version": 2,
"name": "__MSG_MSG_EXT_NAME__",
"version": "2.2.0",
"description": "__MSG_MSG_EXT_DESC__",
"author": "t7yang",
"homepage_url": "https://github.com/tongwentang/tongwentang-extension",
"default_locale": "en",
"__firefox__browser_specific_settings": {
"gecko": {
"id": "tongwen@softcup",
"strict_min_version": "63.0"
}
},
"icons": {
"16": "icons/tongwen-icon-16.png",
"32": "icons/tongwen-icon-32.png",
"48": "icons/tongwen-icon-48.png",
"128": "icons/tongwen-icon-128.png"
},
"permissions": ["menus", "downloads", "notifications", "storage", "tabs", "unlimitedStorage"],
"optional_permissions": ["clipboardWrite", "clipboardRead"],
"background": {
"scripts": ["background.js"]
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"],
"all_frames": true,
"run_at": "document_idle"
}
],
"browser_action": {
"browser_style": true,
"default_icon": {
"16": "icons/tongwen-icon-16.png",
"32": "icons/tongwen-icon-32.png",
"48": "icons/tongwen-icon-48.png",
"128": "icons/tongwen-icon-128.png"
}
},
"options_ui": {
"browser_style": true,
"open_in_tab": true,
"page": "options.html"
},
"commands": {
"w_s2t": {
"description": "__MSG_MSG_WEBPAGE_S2T__",
"suggested_key": {
"default": "Shift+Alt+C"
}
},
"w_t2s": {
"description": "__MSG_MSG_WEBPAGE_T2S__",
"suggested_key": {
"default": "Shift+Alt+V"
}
},
"c_s2t": {
"description": "__MSG_MSG_CONVERT_CLIPBOARD_S2T__",
"suggested_key": {
"default": "Shift+Alt+Z"
}
},
"c_t2s": {
"description": "__MSG_MSG_CONVERT_CLIPBOARD_T2S__",
"suggested_key": {
"default": "Shift+Alt+X"
}
}
}
}