-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
40 lines (40 loc) · 1.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="style.css">
<script src="brotector.js"></script>
<script src="main.js"></script>
<title>Brotector</title>
</head>
<body>
<div id="description">
<h1>Brotector, a webdriver detector</h1>
<div style="margin: 1.2%; width:100%; height:auto; display: flex; gap: 10px;">
<button style="padding: 2%;" onclick="OnClicked()" id="clickHere">Click here</button>
<a href="https://github.com/kaliiiiiiiiii/brotector" style="border:4px; padding:2%">Source-code</a>
</div>
</div>
<div style="margin-top: 20px;">
<table id="detections" style="width: 80%; margin-top: 20px;">
<tr bgcolor="darkgreen" id="table-keys">
<th>Detection</th>
<th style="white-space: nowrap;">ms since load</th>
<th>Type</th>
<th>score</th>
<th>data</th>
</tr>
<tr bgcolor="blue">
<td>Average</td>
<td id="avg-ms-load"></td>
<td></td>
<td id="avg-score">0</td>
<td></td>
</tr>
</table>
</div>
<button id="copy-button" onclick="copyAsJSON()" style="margin-top: 20px;">
copy as JSON
</button>
</body>
</html>