forked from zhouii/Tongji_Helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
57 lines (48 loc) · 1.5 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
{
"manifest_version": 2,
"name": "Tongji Helper",
"description": "能自动登录同济的各种网站,还有邮箱登录、选课辅助、评教辅助、电费提醒等功能(⊙v⊙)~",
"version": "1.12.1",
"browser_action": {
"default_icon": "img/icon.png",
"default_popup": "popup.html",
"default_title": "惊艳的自动登录和选课辅助功能~"
},
"icons": {
"48": "img/icon48.png",
"128": "img/icon.png"
},
"content_scripts": [
{
"matches": ["*://*.tongji.edu.cn/*","http://192.168.192.10/*","http://192.168.192.17/*","http://192.168.192.18/*","*://xui.ptlogin2.qq.com/*","*://dl.reg.163.com/*","*://passport.126.com/*","*://passport.alibaba.com/*","*://202.120.163.129/*"],
"js": ["js/jquery-3.1.1.min.js", "js/myjs.js","js/tj.js"],
"all_frames": true,
"match_about_blank": true,
"run_at": "document_idle"
}
],
"background": {
"scripts": ["js/jquery-3.1.1.min.js", "js/myjs.js", "js/background.js"]
},
"options_page": "options.html",
"homepage_url": "https://www.zhouii.com/tj-helper",
"permissions": [
"storage",
"webRequest",
"webRequestBlocking",
"webNavigation",
"contextMenus",
"<all_urls>",
"cookies",
"notifications",
"tabs"
],
"web_accessible_resources": [
"css/bootstrap.min.css",
"css/mystyle.css",
"js/bootstrap.min.js",
"js/jquery-3.1.1.min.js",
"teacher.json",
"fonts/*"
]
}