added webhook yeeter

This commit is contained in:
Boof 2023-02-27 13:33:04 +01:00 committed by GitHub
parent c94230d3d7
commit 8aa68999c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,16 @@
<head>
<title>Discord webhook yeeter</title>
</head>
<body>
<label>Url:</label><br>
<textarea value="" rows="6" cols="80" id="input" required></textarea><br>
<button type="button" onclick="YEET();">YEET</button>
<h1 id="out"></h1>
<script>
function yeet(){
const url = document.getElementById("input").value
fetch(url, { method: 'DELETE' })
.then(() => document.getElementById("out") = 'Delete successful');
}
</script>
</body>