-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmanifest.json
154 lines (154 loc) · 4.51 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "Rietveld Usability Toolkit",
"version": "0.3.8",
"manifest_version" : 2,
"description": "Making Rietveld usable",
"permissions": [
"tabs",
"storage",
"*://codereview.appspot.com/*",
"*://breakpad.appspot.com/*",
"*://chromiumcodereview.appspot.com/*",
"*://chromereviews.googleplex.com/*",
"*://codereview.chromium.org/*",
"*://webrtc-codereview.appspot.com/*"
],
"background" : {
"scripts": [ "scripts/background.js" ],
"persistent": false
},
"page_action" :
{
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
},
"default_title" : "Rietveld Beautifier",
"default_popup" : "settings/popup.html"
},
"content_scripts": [
{
"matches": [
"*://codereview.appspot.com/*",
"*://breakpad.appspot.com/*",
"*://chromiumcodereview.appspot.com/*",
"*://chromereviews.googleplex.com/*",
"*://codereview.chromium.org/*",
"*://webrtc-codereview.appspot.com/*"
],
"all_frames": true,
"js": [
"lib/jquery-1.8.3.min.js",
"scripts/lib.js",
"scripts/settings.js",
"scripts/storage.js",
"scripts/identify.js"
],
"run_at": "document_start"
},
{
"matches": [
"*://chromiumcodereview.appspot.com/*",
"*://breakpad.appspot.com/*",
"*://codereview.appspot.com/*",
"*://codereview.chromium.org/*",
"*://chromereviews.googleplex.com/*",
"*://webrtc-codereview.appspot.com/*"
],
"all_frames": true,
"js": [
"scripts/loadQueue.js",
"scripts/controls.js",
"scripts/help.js",
"scripts/main.js"
],
"css": [
"css/main.css",
"css/spinner.css"
],
"run_at": "document_idle"
},
{
"matches": [
"*://chromiumcodereview.appspot.com/*/diff*",
"*://breakpad.appspot.com/*/diff*",
"*://codereview.appspot.com/*/diff*",
"*://codereview.chromium.org/*/diff*",
"*://chromereviews.googleplex.com/*/diff*",
"*://webrtc-codereview.appspot.com/*/diff"
],
"js": [
"scripts/diff_begin.js"
],
"all_frames": true,
"css": [
"css/style.css"
],
"run_at": "document_start"
},
{
"matches": [
"*://codereview.appspot.com/*/diff*",
"*://breakpad.appspot.com/*/diff*",
"*://chromiumcodereview.appspot.com/*/diff*",
"*://codereview.chromium.org/*/diff*",
"*://chromereviews.googleplex.com/*/diff*",
"*://webrtc-codereview.appspot.com/*/diff"
],
"all_frames": true,
"js": [
"lib/syntax/scripts/shCore.js",
"scripts/diff_idle.js",
"scripts/brush.js",
"scripts/syntax.js",
"scripts/codesearch.js"
],
"run_at": "document_idle"
}
],
"icons": {
"16": "icons/rietveld-icon-16.png",
"48": "icons/rietveld-icon-48.png",
"128": "icons/rietveld-icon-128.png"
},
"options_page" : "settings/settings.html",
"web_accessible_resources" : [
"scripts/inject/inline_frame.js",
"scripts/inject/patch.js",
"scripts/lib.js",
"lib/syntax/themes/shThemeDefault.css",
"lib/syntax/themes/shThemeDjango.css",
"lib/syntax/themes/shThemeEclipse.css",
"lib/syntax/themes/shThemeEmacs.css",
"lib/syntax/themes/shThemeFadeToGrey.css",
"lib/syntax/themes/shThemeMDUltra.css",
"lib/syntax/themes/shThemeMidnight.css",
"lib/syntax/themes/shThemeRDark.css",
"lib/syntax/brush/shBrushAppleScript.js",
"lib/syntax/brush/shBrushCSharp.js",
"lib/syntax/brush/shBrushGroovy.js",
"lib/syntax/brush/shBrushGyp.js",
"lib/syntax/brush/shBrushPhp.js",
"lib/syntax/brush/shBrushSass.js",
"lib/syntax/brush/shBrushAS3.js",
"lib/syntax/brush/shBrushCss.js",
"lib/syntax/brush/shBrushJavaFX.js",
"lib/syntax/brush/shBrushPlain.js",
"lib/syntax/brush/shBrushScala.js",
"lib/syntax/brush/shBrushBash.js",
"lib/syntax/brush/shBrushDelphi.js",
"lib/syntax/brush/shBrushJava.js",
"lib/syntax/brush/shBrushPowerShell.js",
"lib/syntax/brush/shBrushSql.js",
"lib/syntax/brush/shBrushColdFusion.js",
"lib/syntax/brush/shBrushDiff.js",
"lib/syntax/brush/shBrushJScript.js",
"lib/syntax/brush/shBrushPython.js",
"lib/syntax/brush/shBrushVb.js",
"lib/syntax/brush/shBrushCpp.js",
"lib/syntax/brush/shBrushErlang.js",
"lib/syntax/brush/shBrushPerl.js",
"lib/syntax/brush/shBrushRuby.js",
"lib/syntax/brush/shBrushXml.js"
]
}