-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
47 lines (47 loc) · 1.12 KB
/
manifest.json
File metadata and controls
47 lines (47 loc) · 1.12 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
47
{
"manifest_version": 3,
"name": "WeixLayout - 微信公众号 Markdown 编辑器",
"version": "1.2.1",
"description": "在微信公众号后台使用 Markdown 写作,支持实时预览、多主题切换、代码高亮、数学公式和流程图",
"icons": {
"16": "images/icon-16.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"permissions": [
"activeTab",
"sidePanel",
"storage",
"tabs"
],
"host_permissions": [
"https://mp.weixin.qq.com/*",
"https://api.weixin.qq.com/*"
],
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": ["https://mp.weixin.qq.com/*"],
"js": ["utils/style-inline-core.js", "utils/theme-inline.js", "content.js"],
"run_at": "document_idle"
}
],
"side_panel": {
"default_path": "sidepanel/index.html"
},
"action": {
"default_title": "WeixLayout - Markdown 编辑器"
},
"web_accessible_resources": [
{
"resources": [
"lib/*",
"themes/*",
"utils/*"
],
"matches": ["https://mp.weixin.qq.com/*"]
}
]
}