-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathoptions.html
130 lines (96 loc) · 3.71 KB
/
options.html
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
<html>
<head>
<link rel="stylesheet" href="options.css" type="text/css" />
<title>Options - Quick source viewer</title>
</head>
<body>
<h1><img src="gear19.png" /> Options - Quick source viewer</h1>
<div class="item">
<div class="help">
<p>Show the number of Javascript nodes as a badge
in the toolbar.</p>
</div>
<h2>Badge</h2>
<label><input id="inptip" type="checkbox"/> Show script node count</label>
<label><input id="isredcount" type="checkbox"/> Colorize to red if count is equal or greater than
<input id="redcount" type="text"/>
</label>
</div>
<div class="item">
<div class="help">
</div>
<h2>Limits</h2>
<label>Max size of file to be beautified initially:
<input id="limit_beauty" type="text"/> characters
<p class="help">The rest will be displayed when reaching the end</p>
</label>
<br>
<label>Max size of inline script/css to be shown:
<input id="limit_inline" type="text"/> characters
<p class="help">excess will be truncated</p>
</label>
</div>
<div class="item">
<div class="help">
<p>Initially beautifies source code. (Beautify modifies
styling such as new
lines, whitespace and indentation to make source more readable.)</p>
<p>You can control this on demand in the source view with a button
or a keyboard shortcut 'B'.</p>
</div>
<h2>Beautify</h2>
<label><input id="inpbeautify" type="checkbox"/> Beautify sources</label>
</div>
<div class="item">
<div class="help">
<p>Initially displays line numbers.</p>
<p>You can control this on demand in the source view with a
keyboard shortcut 'N'.</p>
</div>
<h2>Line numbers</h2>
<label><input id="inplinenum" type="checkbox"/> Display line
numbers</label>
</div>
<div class="item">
<div class="help">
<p>Show caching information of external files. Picks the HTTP
header "Expires", "Cache-Control" or "Age", in this order. </p>
</div>
<h2>Cache header</h2>
<label><input id="inpcache" type="checkbox"/> Show cache header of files </label>
</div>
<div class="item">
<div class="help">
<p>Show onclick handlers with inline javascript.</p>
</div>
<h2>OnClick</h2>
<label><input id="inponclick" type="checkbox"/> Show inline onclick handlers </label>
</div>
<div class="item">
<div class="help">
<p>List of source files urls to highlight, one url match per line.</p>
</div>
<h2>Highlight sources</h2>
<textarea id="hi"></textarea>
</div>
<div class="item">
<div class="help">
<p>Adjust the look and feel of the extension with custom CSS.
(See the available elements by inspecting the page.)</p>
</div>
<h2>Custom CSS</h2>
<textarea id="css"></textarea>
</div>
<div class="author">
<p>by Tomi Mickelsson — <a href="http://tomicloud.com/2012/07/viewsrc-chrome-ext?chrome=1">tomicloud.com</a></p>
<p>Credits to <a target="_blank"
href="http://jsbeautifier.org/">jsbeautifier.org</a>
and <a target="_blank"
href="http://softwaremaniacs.org/soft/highlight/en/">highlight.js</a>
</p>
</div>
</body>
<script src="ext/zepto.min.js" type="text/javascript"></script>
<script src="config.js" type="text/javascript"></script>
<script src="options.js" type="text/javascript"></script>
</html>