blob: dafef6e6f0431910217c29ecc5ac1a41a967402f (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title data-i18n="import">FoxyProxy </title>
<link rel="icon" type="image/png" href="/images/icon.svg">
<link rel="stylesheet" href="styles/fontawesome-4.6.3.css">
<link rel="stylesheet" href="styles/app.css">
<style>
i.fa, i.fa:hover { color: inherit; font-size: inherit; }
i.fa.fa-eye, i.fa.fa-eye:hover {
font-size: 1.5em;
vertical-align: middle;
}
label {
display: inline-block;
}
textarea {
height: 10em;
}
div.tooltip hr {
color: white;
}
div.tooltip h3 {
margin: 0 0 .2em 0;
}
.align-right {
text-align: right;
}
.no-margin {
margin: 0;
}
#completeFormatTooltip {
width: 40rem;
}
</style>
</head>
<body>
<!-- header -->
<div class="prime header" data-i18n="importProxyList"></div>
<!-- spinner -->
<div class="spinner on"><i class="fa fa-refresh fa-spin"></i></div>
<!-- main -->
<div class="prime">
<div class="tooltip">
<span data-i18n="pasteList"></span> <span data-i18n="formats"></span> <span data-i18n="simple"></span>
<i class="fa fa-info-circle"></i>
<div class="tooltiptext bottom table">
<div class="tooltiptable">
<p class="no-margin" data-i18n="simpleFormat"></p>
<p class="monospace"><span data-i18n="ipPort"></span><br><span data-i18n="ipPort"></span><br><span data-i18n="ipPortUsernamePassword"></span></p>
</div>
<hr>
<div class="tooltiptablefooter">
<h3 data-i18n="examples"></h3>
78.205.12.1:6001<br>12.999.51.81:3128<br>foobar.com:12001<br>foobar.com:3128:kyleReese:hunterKiller
<p><a data-i18n="help" target="_blank" href="https://github.com/foxyproxy/firefox-extension/wiki/Import-Proxy-List"></a></p>
</div>
</div>
</div>
/
<div class="tooltip">
<span data-i18n="complete"></span>
<i class="fa fa-info-circle"></i>
<div id="completeFormatTooltip" class="tooltiptext bottom table">
<div class="tooltiptable">
<p data-i18n="completeFormat"></p>
<h3 data-i18n="examples"></h3>
<p class="monospace">* proxy://78.205.12.1:666<br>
* proxy://johnConnor:hunterKiller@192.168.100.9:5192?color=663300<br>
* socks://12.999.51.81?title=China&cc=CN&country=中国&proxyDns=false<br>
* socks://12.999.51.81:331?patternExcludesIntranet=false<br>
* https://192.168.100.9:5192?patternIncludesAll=false<br>
* ssl://kyleReese:passw0rd@78.205.12.1:21?color=ff00bc&title=work%20proxy</p>
</div>
<hr>
<div class="tooltiptablefooter">
<a data-i18n="help" target="_blank" href="https://github.com/foxyproxy/firefox-extension/wiki/Import-Proxy-List"></a>
</div>
</div>
</div>
<br><br>
<textarea id="proxyList"></textarea>
<label data-i18n="overwriteProxies"></label>
<input id="overwrite" type="checkbox" class="switch"><label for="overwrite"></label>
<div class="tooltip">
<i class="fa fa-info-circle"></i>
<div class="tooltiptext center bottom">
<div class="tooltiptable">
<span data-i18n="overwritProxiesHelp1"></span>
</div>
<br>
<div class="tooltiptable">
<span data-i18n="overwritProxiesHelp2"></span>
</div>
</div>
</div>
<br><br>
<button id="import" type="button" class="button" data-i18n="import"><i class="fa fa-download"></i> </button>
<div class="align-right">
<button type="button" class="button" data-i18n="back">◁ </button>
</div>
</div>
<script src="scripts/utils.js"></script>
<script src="scripts/import-proxy-list.js"></script>
</body>
</html>
|