-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
popup.html
103 lines (99 loc) · 3.62 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="popup.css" />
<title>🎛️ Server Status</title>
<!-- <script defer src="common.js"></script> -->
<script defer src="popup.js" type="module"></script>
</head>
<body>
<!-- <h3>Server Status</h3> -->
<div><a href="https://github.com/tdulcet/Server-Status" target="_blank"><button
type="button">ℹ️Information</button></a>
<button type="button" id="settings">⚙️ Settings</button>
<a href="https://www.tealdulcet.com/" target="_blank"><button type="button">❤️ Donate</button></a>
</div>
<hr style="width: 100%" />
<div class="no-data">
<p id="data">⟳ Refresh page to show.</p>
</div>
<div class="data hidden">
<table>
<tr>
<td id="status"><span id="code" title="Status"></span> <span id="line"></span></td>
</tr>
<tr>
<td><span title="Hostname/Domain">🌐</span> <span id="host"></span></td>
</tr>
<tr class="ip hidden">
<td><span class="ipv4 hidden"><abbr title="Internet Protocol version 4">IPv4</abbr> address: <span
id="ipv4"></span><br></span>
<span class="ipv6 hidden"><abbr title="Internet Protocol version 6">IPv6</abbr> address: <span
id="ipv6"></span></span>
<span class="cache hidden"><abbr title="Internet Protocol">IP</abbr> address: <span
id="ip"></span></span>
</td>
</tr>
<tr class="server hidden">
<td>Server: <span id="server"></span></td>
</tr>
<tr class="location hidden">
<td><span title="Server location">📍</span> <span id="location"></span></td>
</tr>
<tr class="blacklist hidden">
<td><span id="blacklist"></span></td>
</tr>
<tr>
<td>
<details id="details">
<summary>⇅ <span id="number"></span> Requests (click to show)</summary>
<span id="requests">None</span>
</details>
</td>
</tr>
<tr class="no-content">
<td id="content"></td>
</tr>
<tr class="content hidden">
<td><span title="Load time">⏱️ Load time</span>: <span id="load"></span>, <abbr
title="Time to first byte">TTFB</abbr>: <span id="ttfb"></span><br>
<span title="First paint">🖌️ First paint</span>: <span id="paint"></span><span
class="lcp hidden">, <abbr title="Largest Contentful Paint">LCP</abbr>: <span
id="lcp"></span></span>
</td>
</tr>
<!-- <tr class="content hidden">
<td><span title="Transfer size">⬇️</span> <span id="size"></span></td>
</tr> -->
<tr class="size hidden">
<td><span title="Download/Response size">⬇️</span> <span id="download"></span>, <span
title="Upload/Request size">⬆️</span> <span id="upload"></span></td>
</tr>
<tr class="modified hidden">
<td><span title="Last modified">💾</span> <span id="modified"></span></td>
</tr>
<tr>
<td>Connection: <span id="state"></span></td>
</tr>
<tr class="certificate hidden">
<td><span title="Certificate expiration">⏲️</span> Certificate expiration:<br>
<span id="timer"></span><br>
<span id="expiration"></span>
</td>
</tr>
<tr class="certificate hidden">
<td>Certificate issuer:<br><span id="issuer"></span> (<span id="link"></span>)</td>
</tr>
<tr class="certificate hidden">
<td><span title="Protocol">↔️</span> <abbr title="Secure Sockets Layer">SSL</abbr>/<abbr
title="Transport Layer Security">TLS</abbr>
Protocol: <span id="protocol"></span></td>
</tr>
<tr class="certificate hidden">
<td><abbr title="HTTP Strict Transport Security">HSTS</abbr>: <span id="hsts"></span></td>
</tr>
</table>
</div>
</body>
</html>