forked from kong0107/zhLawEasyRead
-
Notifications
You must be signed in to change notification settings - Fork 6
/
manifestV2.json
68 lines (68 loc) · 1.69 KB
/
manifestV2.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
{
"manifest_version": 2,
"name": "法規亦毒氣",
"description": "將網頁中的法規與條號都轉變成連結,以利快速查閱指定條文。",
"version": "2.0.5",
"author": "kong0107",
"homepage_url": "https://g0v.github.io/laweasyread-front/",
"options_ui": {
"page": "options_ui/index.html",
"open_in_tab": true
},
"icons": { "128": "icon.png" },
"permissions": [
"activeTab",
"alarms",
"storage"
],
"background": {
"scripts": [
"lib/kong-util.js",
"lib/storage.js",
"LER.back.js",
"browser/background.js"
]
},
"browser_action": {
"default_popup": "browser/popup.html"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": [
"lib/kong-util.js",
"lib/storage.js",
"LER.front.js"
],
"run_at": "document_end",
"all_frames": true
},
{
"matches": ["https://law.moj.gov.tw/*"],
"exclude_matches": [
"https://law.moj.gov.tw/Eng/*",
"https://law.moj.gov.tw/*/LawAllPara.aspx*",
"https://law.moj.gov.tw/*media=print*"
],
"js": ["content_scripts/moj.law.js"]
},
{
"matches": ["https://lis.ly.gov.tw/lglawc/lawsingle?*"],
"js": ["content_scripts/ly.lis.js"],
"css": ["content_scripts/ly.lis.css"]
},
{
"matches": [
"https://judgment.judicial.gov.tw/FJUD/*"
],
"js": ["content_scripts/judicial.judgement.js"],
"css": ["content_scripts/judicial.judgement.css"],
"all_frames": true
},
{
"matches": ["<all_urls>"],
"js": ["content_scripts/main.js"],
"all_frames": true
}
]
}