-
Notifications
You must be signed in to change notification settings - Fork 11
/
options.html
118 lines (118 loc) · 4.57 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
<!DOCTYPE html>
<html>
<head>
<title>Proxy Anywhere</title>
<link rel="stylesheet" type="text/css" href="/css/common.css" />
<link rel="stylesheet" type="text/css" href="/css/options.css" />
<link rel="stylesheet" type="text/css" href="/css/options-proxy.css" />
<script type="text/javascript" src="/js/functions.js"></script>
<script type="text/javascript" src="/js/dialog_controller.js"></script>
<script type="text/javascript" src="/js/options.js"></script>
</head>
<body>
<form onsubmit="return false;">
<div id="body-container">
<div id="header">
<h1>Proxy Anywhere<em id="version"></em></h1>
</div>
<p>
Make sure you save the settings after your done editing!
<a
href="https://chrome.google.com/webstore/detail/eejcbegfnjfjnmdikkplhbhnemddchbn">
Visit extension page
</a>,
<a
href="http://groups.google.com/group/mohamedmansour-extensions">
File bugs and suggestions
</a><br/><br/>
You should follow me on Twitter <a href="http://twitter.com/mohamedmansour">@mohamedmansour</a>
</p>
<div class="extension-template">
<div class="extension-header">Proxy Server</div>
<div class="extension-options">
<p>The following section encapsulates a single proxy server's
specification. Make sure the server information is correct.</p>
<dl>
<dt>Protocol:</dt>
<dd>
<select id="scheme">
<option value="http">http</option>
<option value="socks">socks</option>
<option value="socks4">socks4</option>
<option value="socks5">socks5</option>
</select>
</dd>
<dt>Host:</dt>
<dd>
<label for="host"><input type="text" id="host" /></label>
</dd>
<dt>Port:</dt>
<dd>
<label for="port"><input type="text" id="port" /></label>
</dd>
<dt>Autostart:</dt>
<dd>
<label for="autostart"><input type="checkbox" id="autostart" /></label>
</dd>
<dt>Incognito only:</dt>
<dd>
<label for="incognito"><input type="checkbox" id="incognito" /></label>
<span class="note" id="incognito_note">
Only use this proxy setting for incognito windows.
</span>
</dd>
</dl>
</div>
</div>
<div class="extension-template">
<div class="extension-header">Exceptions</div>
<div class="extension-options">
<p>Individual servers may be excluded from being proxied.</p>
<dl>
<dt>Bypass list:</dt>
<dd>
<select id="bypass_list" size="8"></select>
<button id="bypass-list-add">Add</button>
<button id="bypass-list-remove">Remove</button>
<button id="bypass-list-remove-all">Remove All</button>
<div class="clear"></div>
</dd>
</dl>
</div>
</div>
<div class="extension-template">
<div class="extension-header">Misc</div>
<div class="extension-options">
<p>If you would like to be notified of major upgrades to this extension,
please make sure the box below is unchecked. You wont be spammed.</p>
<dl>
<dt>Opt-Out of future notifications:</dt>
<dd>
<label for="opt_out"><input type="checkbox" id="opt_out" /></label>
</dd>
</dl>
</div>
</div>
<div id="extension-footer">
<span id="info-message">Options saved!</span>
<button id="button-save">Save</button>
<button id="button-close">Close</button>
</div>
<div id="credits">
Extension developed by <a href="http://www.mohamedmansour.com">Mohamed Mansour</a>,
Source Code available in <a href="https://github.com/mohamedmansour/proxy-anywhere-extension">GitHub</a>
</div>
</div>
</form>
<div id="add-bypass-dialog">
<p>Please add a URL to be exluded from being proxied. The available formats
mentioned below. You can add multiple ones separated with a comma.</p>
<p class="subtitle">Examples: </p>
<p class="examples">"foobar.com", "*foobar.com", "*.foobar.com", "*foobar.com:99",
"https://x.*.y.com:99", "127.0.1", "[0:0::1]", "[::1]", "http://[::1]:99",
"192.168.1.1/16", "fefe:13::abc/33", "<local>"</p>
<p class="subtitle">URL: </p>
<input type="text" value="" placeholder="URL to exclude" id="bypass-item-add"/>
</div>
</body>
</html>