forked from ZhiXuanWang/cf-speed-dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
191 lines (181 loc) · 6.62 KB
/
index.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
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
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>CfSpeedDns优选IP</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/layui/2.9.2/css/layui.css">
</head>
<body>
<div class="layui-container">
<p id="clock" style="text-align: center;"></p>
<div style="text-align: center; padding-top: 10px;"><iframe src="https://ghbtns.com/github-btn.html?user=zhixuanwang&repo=cf-speed-dns&type=star&count=true" frameborder="0" scrolling="0" width="150" height="20" title="GitHub"></iframe></div>
<table class="layui-table">
<thead>
<tr>
<th>IP地址</th>
<th>已发送</th>
<th>已接收</th>
<th>丢包率</th>
<th>平均延迟</th>
<th>下载速度</th>
<th>测速时间</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span><i class="layui-icon layui-icon-release" style="font-size: 20px; color: #1E9FFF;"></i></span>
<a href="https://zh-hans.ipshu.com/ipv4/104.19.52.122" target="_blank">104.19.52.122</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>137.0</td>
<td style="color: green; font-weight: bold;">42.02MB/s</td>
<td>2024-11-02 02:34:47</td>
</tr>
<tr>
<td>
<span><i class="layui-icon layui-icon-release" style="font-size: 20px; color: #1E9FFF;"></i></span>
<a href="https://zh-hans.ipshu.com/ipv4/104.17.62.11" target="_blank">104.17.62.11</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>134.0</td>
<td style="color: green; font-weight: bold;">36.78MB/s</td>
<td>2024-11-02 03:29:39</td>
</tr>
<tr>
<td>
<span><i class="layui-icon layui-icon-release" style="font-size: 20px; color: #1E9FFF;"></i></span>
<a href="https://zh-hans.ipshu.com/ipv4/104.19.193.201" target="_blank">104.19.193.201</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>133.0</td>
<td style="color: green; font-weight: bold;">35.6MB/s</td>
<td>2024-11-02 03:29:39</td>
</tr>
<tr>
<td>
<a href="https://zh-hans.ipshu.com/ipv4/104.19.119.170" target="_blank">104.19.119.170</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>137.0</td>
<td style="color: green; font-weight: bold;">35.12MB/s</td>
<td>2024-11-02 01:50:01</td>
</tr>
<tr>
<td>
<a href="https://zh-hans.ipshu.com/ipv4/103.21.244.151" target="_blank">103.21.244.151</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>134.0</td>
<td style="color: green; font-weight: bold;">35.06MB/s</td>
<td>2024-11-02 03:24:27</td>
</tr>
<tr>
<td>
<a href="https://zh-hans.ipshu.com/ipv4/104.17.146.154" target="_blank">104.17.146.154</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>133.0</td>
<td style="color: green; font-weight: bold;">34.28MB/s</td>
<td>2024-11-02 03:44:44</td>
</tr>
<tr>
<td>
<a href="https://zh-hans.ipshu.com/ipv4/104.17.208.80" target="_blank">104.17.208.80</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>132.0</td>
<td style="color: green; font-weight: bold;">34.22MB/s</td>
<td>2024-11-02 03:24:27</td>
</tr>
<tr>
<td>
<a href="https://zh-hans.ipshu.com/ipv4/104.16.116.235" target="_blank">104.16.116.235</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>145.0</td>
<td style="color: green; font-weight: bold;">31.89MB/s</td>
<td>2024-11-02 01:05:06</td>
</tr>
<tr>
<td>
<a href="https://zh-hans.ipshu.com/ipv4/104.18.117.27" target="_blank">104.18.117.27</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>143.0</td>
<td style="color: green; font-weight: bold;">31.25MB/s</td>
<td>2024-11-02 01:05:06</td>
</tr>
<tr>
<td>
<a href="https://zh-hans.ipshu.com/ipv4/104.19.77.186" target="_blank">104.19.77.186</a>
</td>
<td>4</td>
<td>4</td>
<td>0.0%</td>
<td>146.0</td>
<td style="color: green; font-weight: bold;">19.93MB/s</td>
<td>2024-11-02 00:35:06</td>
</tr>
</tbody>
</table>
</div>
<script src="https://cdn.staticfile.org/layui/2.9.2/layui.js"></script>
<script>
function updateClock() {
const now = new Date();
let hours = now.getHours();
let minutes = now.getMinutes();
let seconds = now.getSeconds();
let day = now.getDate();
let month = now.getMonth() + 1;
const year = now.getFullYear();
// 补零
hours = hours < 10 ? '0' + hours : hours;
minutes = minutes < 10 ? '0' + minutes : minutes;
seconds = seconds < 10 ? '0' + seconds : seconds;
day = day < 10 ? '0' + day : day;
month = month < 10 ? '0' + month : month;
// 显示时间和日期
document.getElementById('clock').innerText = '当前时间:' + year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds + " CloudflareSpeedTest准实时自选优选IP"
}
// 初始加载
updateClock();
// 每秒更新一次时钟
setInterval(updateClock, 1000);
// 每5分钟刷新一次页面
setInterval(function () {
location.reload();
}, 5 * 60 * 1000); // 5分钟 * 60秒 * 1000毫秒
</script>
<script>
// 百度统计
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?9b2713b363ad7f0c3c30ab7556936453";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>