forked from gorhill/httpswitchboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
128 lines (122 loc) · 5.63 KB
/
settings.html
File metadata and controls
128 lines (122 loc) · 5.63 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HTTP Switchboard — Settings</title>
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
<style>
div > p:first-child {
margin-top: 0;
}
div > p:last-child {
margin-bottom: 0;
}
ul {
padding: 0;
list-style-type: none;
}
ul > li {
margin: 0 0 0 1em;
}
.dim {
font-weight: 100;
color: #888;
}
#spoof-user-agent-with {
margin-left: 1.25em;
display: block;
font-size: 11px;
width: 50em;
height: 8em;
white-space: pre;
word-wrap: normal;
overflow-x: scroll;
}
</style>
</head>
<body>
<h2 data-i18n="settingsMatrixHeader"></h2>
<ul>
<li><span data-i18n="settingsMatrixDisplayTextSizePrompt"></span>
<ul style="list-style:none">
<li><input type="radio" name="displayTextSize" value="13px"><span data-i18n="settingsMatrixDisplayTextSizeNormal"></span>
<li><input type="radio" name="displayTextSize" value="16px"><span data-i18n="settingsMatrixDisplayTextSizeLarge"></span>
</ul>
<li><h3 data-i18n="settingsMatrixMoreSecurityHeader"></h3>
<ul>
<li>
<input id="strict-blocking" type="checkbox"><span data-i18n="settingsStrictBlockingPrompt"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsStrictBlockingInfo"></div>
<li>
<input id="auto-create-scope" type="checkbox"><span data-i18n="settingsAutoCreateScopePrompt1"></span>
<select id="auto-create-scope-level">
<option value="domain" data-i18n="settingsAutoCreateDomainScope">
<option value="site" data-i18n="settingsAutoCreateSiteScope">
</select>
<span data-i18n="settingsAutoCreateScopePrompt2"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsAutoCreateScopeInfo"></div>
</ul>
<li><h3 data-i18n="settingsMatrixLessSecurityHeader"></h3>
<ul>
<li>
<input id="auto-whitelist-page-domain" type="checkbox"><span data-i18n="settingsAutoWhitelistPrompt"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsAutoWhitelistHelp"></div>
</ul>
<li><h3 data-i18n="settingsMatrixConvenienceHeader"></h3>
<ul>
<li>
<span data-i18n="settingsMatrixAutoReloadPrompt"></span> <select id="smart-auto-reload">
<option value="none" data-i18n="settingsMatrixAutoReloadNone">
<option value="current" data-i18n="settingsMatrixAutoReloadCurrent">
<option value="all" data-i18n="settingsMatrixAutoReloadAll">
</select> <button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsMatrixAutoReloadInfo"></div>
<li>
<input id="delete-unused-temporary-scopes" type="checkbox"><span data-i18n="settingsMatrixDeleteUnusedTemporaryScopesPrompt1"></span>
<!-- <button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsAutoDeleteTemporaryScopesHelp"></div> -->
</ul>
</ul>
<h2 data-i18n="settingsPrivacyHeader"></h2>
<ul>
<li>
<input id="delete-blacklisted-cookies" type="checkbox"><span data-i18n="settingsDeleteBlockedCookiesPrompt"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsDeleteBlockedCookiesHelp"></div>
<li>
<input id="delete-unused-session-cookies" type="checkbox"><span data-i18n="settingsDeleteNonBlockedSessionCookiesPrompt1"></span>
<input id="delete-unused-session-cookies-after" type="text" value="60" size="3"><span data-i18n="settingsDeleteNonBlockedSessionCookiesPrompt2"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsDeleteNonBlockedSessionCookiesHelp"></div>
<li>
<input id="delete-blacklisted-localstorage" type="checkbox"><span data-i18n="settingsDeleteBlockedLocalStoragePrompt"></span>
<li>
<input id="clear-browser-cache" type="checkbox"><span data-i18n="settingsClearCachePrompt1"></span>
<input id="clear-browser-cache-after" type="text" value="60" size="3"> <span data-i18n="settingsClearCachePrompt2"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsClearCacheHelp"></div>
<li>
<input id="process-referer" type="checkbox"><span data-i18n="settingsProcessRefererPrompt"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsProcessRefererHelp"></div>
<li>
<li>
<input id="spoof-user-agent" type="checkbox"><span data-i18n="settingsSpoofUserAgentPrompt1"></span> <input id="spoof-user-agent-every" type="text" value="5" size="3"> <span data-i18n="settingsSpoofUserAgentPrompt2"></span>
<button class="whatisthis"></button>
<div class="whatisthis-expandable para" data-i18n="settingsSpoofUserAgentHelp"></div>
<textarea id="spoof-user-agent-with"></textarea>
</ul>
<h2 data-i18n="settingsBehindTheSceneHeader"></h2>
<div>
<p class="para" data-i18n="settingsProcessBehindTheSceneHelp"></p>
</div>
<script src="lib/jquery-2.min.js"></script>
<script src="js/i18n.js"></script>
<script src="js/dashboard-common.js"></script>
<script src="js/settings.js"></script>
</body>
</html>