-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmanifest.json
53 lines (41 loc) · 1.28 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
{
"manifest_version": 2,
"name": "Style Capture Chrome Extension",
"description": "Capture element with style in web page",
"version": "1.0",
"icons": {
"19" : "image/scissor19_default.png",
"38" : "image/scissor38_default.png",
"64" : "image/scissor64_default.png",
"128": "image/scissor128_default.png",
"256": "image/scissor256_default.png",
"512": "image/scissor512_default.png"
},
"permissions": [
"clipboardRead",
"clipboardWrite",
"activeTab", "tabs", "http://*/*", "https://*/*", "<all_urls>"
],
"background": {
"scripts": ["background.js"]
},
"browser_action": {
"name": "Click to capture",
"default_icon": {
"19" : "image/scissor19_default.png",
"38" : "image/scissor38_default.png"
},
// "default_popup": "popup.html", // If it is set, then onClick will be ignored.
"default_title": "Style Capture"
},
"content_scripts": [
{
"matches": [ "<all_urls>" ],
"all_frames": true,
"css": [ "style.css"],
"js": [ "lib/jquery.js", "lib/specificity.js", "lib/keycode.js", "copycsss.js", "selection.js", "content_script.js"]
}
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';",
"options_page": "options.html"
}