forked from gorhill/httpswitchboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.html
More file actions
178 lines (165 loc) · 5.99 KB
/
info.html
File metadata and controls
178 lines (165 loc) · 5.99 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
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HTTP Switchboard — Info</title>
<style>
body {
padding: 0 0 20em 0;
font: 15px httpsb,sans-serif;
}
h2 + *, h1 + * {
margin-left: 2em;
}
select {
max-width: 20em;
}
#stats div div,#lists div div {
padding: 0 1em 0 0;
display: inline-block;
text-align: right;
}
#requests {
font-size: 12px;
}
#requests > div {
margin: 0;
border: 1px inset #eee;
padding: 2px;
font-family: mono;
background-color: white;
overflow: scroll;
}
#requests table {
border-collapse: collapse;
}
#requests tr {
margin: 0;
border: 0;
padding: 0;
color: #070;
}
#requests tr:hover {
background-color: #eee;
}
#requests tr.blocked-true {
color: #c00;
}
#requests tr > td {
padding: 1px 1em 1px 0;
white-space: nowrap;
}
#requests tr > td:nth-of-type(2) {
text-align: right;
}
.type-main_frame {
font-weight: bold;
}
</style>
<link href='css/fonts.css' rel='stylesheet' type='text/css'>
</head>
<body>
<h1 data-i18n="statsPageTitle"></h1>
<div>
<ul>
<li>Version: <span id="version"></span> (<a href="https://github.com/gorhill/httpswitchboard/wiki/Change-log">change log</a>)
<li><a href="settings.html" target="httpsb">Settings</a>
<li><a href="https://github.com/gorhill/httpswitchboard/wiki/Quick-tour-%231%3A-1-of-7">Quick tour</a>
<li>About <a href="https://github.com/gorhill/httpswitchboard/wiki/Permissions">permissions</a>
<li><a href="https://github.com/gorhill/httpswitchboard/wiki/Credits">Credits</a>
</ul>
</div>
<h2 data-i18n="statsPageWhitelistsBlacklists"></h2>
<div id="lists">
<div style="white-space:nowrap;"> <!-- begin template 'stats' -->
<div>
<a href="rulemanager.html" target="httpsb">Whitelisted hostnames</a>:<br>
<a href="rulemanager.html" target="httpsb">Blacklisted hostnames</a>:
</div>
<div>
<span id="whitelistCount"></span><br>
<span id="blacklistCount"></span>
</div>
<div style="margin:1em 0 0 0;display:block;text-align:left">
<span id="blacklistReadonlyCount">?</span> preset blacklisted hostnames from:
<ul id="remoteBlacklists" style="margin:0;color:gray">
<li id="remoteBlacklistDetails" style="display:none"><a href=""></a>
</ul>
</div>
</div> <!-- end template 'stats' -->
</div>
<h2 data-i18n="statsPageGeekyStats" id="geeky-stats"></h2>
<div>For
<select id="selectPageUrls">
<option value="All">All</option>
<option id="selectPageUrlTemplate" value="http://chromium.behind.the.scene">Chromium: Behind the scene</option>
</select>
<h3 data-i18n="statsPageOverview"></h3>
<div id="stats">
<div style="white-space:nowrap;">
<div>
<span data-i18n="statsPageRequests"></span><br>
All:<br>
Pages:<br>
<a href="http://en.wikipedia.org/wiki/Http_cookie">Cookies</a>:<br>
Images:<br>
<span title="i.e. Flash, ActiveX, Java applets, etc.">Plugins</span>:<br>
<a href="http://en.wikipedia.org/wiki/HTML_scripting">Scripts</a>:<br>
<a href="http://en.wikipedia.org/wiki/XMLHttpRequest">XMLHttpRequests</a>:<br>
<a href="http://en.wikipedia.org/wiki/Framing_(World_Wide_Web)">Frames</a>:<br>
<a title="i.e. HTML5 audio, HTML5 video, HTML5 canvas, fonts, etc." href="https://github.com/gorhill/httpswitchboard/wiki/FAQ#in-the-top-left-of-the-matrix-what-is-other">Others</a>:<br>
</div>
<div style="color:#c00">
<span data-i18n="statsPageBlocked"></span><br>
<span id="blockedAllCount"></span><br>
<span id="blockedMainFrameCount"></span><br>
<span id="blockedCookieCount"></span><br>
<span id="blockedImageCount"></span><br>
<span id="blockedObjectCount"></span><br>
<span id="blockedScriptCount"></span><br>
<span id="blockedXHRCount"></span><br>
<span id="blockedSubFrameCount"></span><br>
<span id="blockedOtherCount"></span><br>
</div>
<div style="color:#070">
<span data-i18n="statsPageAllowed"></span><br>
<span id="allowedAllCount"></span><br>
<span id="allowedMainFrameCount"></span><br>
<span id="allowedCookieCount"></span><br>
<span id="allowedImageCount"></span><br>
<span id="allowedObjectCount"></span><br>
<span id="allowedScriptCount"></span><br>
<span id="allowedXHRCount"></span><br>
<span id="allowedSubFrameCount"></span><br>
<span id="allowedOtherCount"></span><br>
</div>
</div>
</div>
<h3 data-i18n="statsPageDetailed"></h3>
<div id="requests">
<p style="font-size:small">You can change the maximum number of most recent HTTP requests to log (currently set at <span id="maxLoggedRequests"></span> per page) on the <a href="settings.html">Settings</a> page.</p>
<p><button id="refresh-requests" data-i18n="statsPageRefresh"></button></p>
<p>
Show: <input id="show-main_frame" type="checkbox" checked value="1">Pages 
<input id="show-blocked" type="checkbox" checked value="1"><span style="color:#c00" data-i18n="statsPageBlocked">Blocked</span> 
<input id="show-allowed" type="checkbox" checked value="1"><span style="color:#070" data-i18n="statsPageAllowed">Allowed</span> 
<input id="show-cookie" type="checkbox" checked value="1">Cookies 
<input id="show-image" type="checkbox" checked value="1">Images 
<input id="show-object" type="checkbox" checked value="1">Objects 
<input id="show-script" type="checkbox" checked value="1">Scripts 
<input id="show-xmlhttprequest" type="checkbox" checked value="1">XHRs 
<input id="show-sub_frame" type="checkbox" checked value="1">Frames 
<input id="show-other" type="checkbox" checked value="1">Others 
</p>
<div>
<table id="requestsTable">
<tr id="requestRowTemplate"><td>...<td><td><a href="" style="display:none"><a></a><td></tr>
</table>
</div>
</div>
</div> <!-- end of geek stats -->
<script src="lib/jquery-2.min.js"></script>
<script src="js/i18n.js"></script>
<script src="js/info.js"></script>
</body>
</html>