-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodify.html
27 lines (27 loc) · 1.25 KB
/
modify.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="a simple way to send messages via a webhook, its pretty basic">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="https://img.icons8.com/color/2x/webhook.png">
<title>update a webhook lol</title>
</head>
<body style="font-family: Verdana">
<h1>webhookinator</h1>
<p>this page allows you to update/modify your webhook</p><br>
<sub class="tip" onclick="tip()">where is the token?</sub><br><br>
<input type="password" class="inpClass" id="token" placeholder="webhook token">
<input type="checkbox" onclick="reveal()" style="display: inline;">show token<br>
<input type="text" class="inpClass" id="channel" placeholder="new channel id"><br>
<button id="update" onclick="updateHook()">update webhook</button>
<button onclick="window.open('/', '_self')" style="display: inline;">go back home</button>
<script src="script2.js"></script>
<script>
if (location.protocol !== 'https:') {
location.replace(`https:${location.href.substring(location.protocol.length)}`);
}
</script>
</body>
</html>