-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest.json
More file actions
51 lines (51 loc) · 1.26 KB
/
Copy pathmanifest.json
File metadata and controls
51 lines (51 loc) · 1.26 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
48
49
50
51
{
"browser_action": {
"default_icon": "assets/icons/icon128.png",
"default_title": "Inject JS",
"default_popup": "index.html"
},
"background": {
//"persistent": false,
"scripts": [
"assets/libs/default-setting.js",
"assets/libs/jquery.slim.min.js",
"assets/libs/utils.js",
"assets/libs/filereader-promise.js",
"assets/libs/chrome-promise.js",
"assets/libs/co.min.js",
"assets/js/background.js"
]
},
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"description": "Inject custom JS for web developer",
"icons": {
"128": "assets/icons/icon128.png",
"16": "assets/icons/icon16.png",
"48": "assets/icons/icon48.png"
},
"permissions": [
"contextMenus",
"cookies",
"storage",
"webRequest",
"webRequestBlocking",
"tabs",
"http://*/*", // "<all_urls>"
"https://*/*"
],
"content_scripts": [{
"js": [
"assets/libs/jquery-3.1.1.min.js",
"assets/libs/lodash.3.10.1.js",
"assets/libs/js-cookie.js",
"assets/js/defaultTask.js"
],
"matches": ["http://*/*","https://*/*"], // "<all_urls>"
"run_at": "document_idle" // start end idle(default,smart inject)
}],
// "key": "evanliu2968",
"manifest_version": 2,
"name": "Inject JS",
// "update_url": "",
"version": "0.1.1"
}