Categories > Coding > HTML >
[source] discord webhook "pinger"
Posted
another bad html release.
source code:
<form>
<textarea id="message" rows="4" cols="50"></textarea>
<br>
<button type="button" onclick="pingWebhook()">Ping Webhook</button>
</form>
<script>
function pingWebhook() {
const message = document.getElementById("message").value;
fetch("webhooklinkhere", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ content: message })
});
}
</script>
you can use it online here: (this one uses embeds instead of messages)
https://discordwebhookpinger.neocities.org/
Replied
Thank you for providing us with this useful information. This is a fantastic post!
Cancel
Post
Replied
As long as it's not used for malicious purposes, it can definitely work. nice
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post