diff --git a/mkwpp-parser/index.html b/mkwpp-parser/index.html index ba5f944..785012b 100644 --- a/mkwpp-parser/index.html +++ b/mkwpp-parser/index.html @@ -5,7 +5,7 @@ MKWPP Auto Parser - +
diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index 6522a4b..7d2d266 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -227,14 +227,14 @@ document.getElementById("readInput").addEventListener("click", async function() }); document.addEventListener("DOMContentLoaded",async function() { - console.log("enters") + console.log("enters"); await fetch("https://corsproxy.io/?https://www.mariokart64.com/mkw/profile.php").then(r=>r.text()).then(r=>{ console.log(r); let profileDocument = new DOMParser().parseFromString(r); let playerList = profileDocument.getElementsByClassName("playerslist")[0]; console.log(playerList); }); -}); +}, false); function formatMsToTime(i32) { let mins = Math.trunc(i32 / 60000);