-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupport.html
More file actions
34 lines (28 loc) · 865 Bytes
/
Copy pathsupport.html
File metadata and controls
34 lines (28 loc) · 865 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Indivision</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="images/logo.ico">
</head>
<body>
<textarea id="logBox" rows="5" cols="20"></textarea>
<button id="logButton" onclick="copyLog()">Copy Log</button>
<script>
// CONFIG START
// SERVER ID
var serverID = 1;
//CONFIG END
window.onload = function() {
document.getElementById("logBox").value = "womginx-"+serverID+"\nultraviolet-"+serverID+"\nindivision-"+serverID;
};
function copyLog() {
var copyLog = document.getElementById("logBox");
copyLog.select();
navigator.clipboard.writeText(copyLog.value);
}
</script>
</body>
</html>