Skip to content

Commit

Permalink
im an idiot
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent 4d8b053 commit b49978c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ function resetOutput() {
document.getElementById("output").innerHTML = "";
}

document.addEventListener("DOMContentLoaded", function() {
document.addEventListener("DOMContentLoaded", async function() {
fetch("https://www.mariokart64.com/mkw/profile.php").then(r=>r.text()).then(r=>{
let profileDocument = new DOMParser().parseFromString(r);
let playerList = profileDocument.getElementsByClassName("playerslist")[0]
console.log(playerList);
});
});

document.getElementById("readInput").addEventListener("click", async function() {
document.getElementById("readInput").addEventListener("click", function() {
let parserData = document.getElementById("inputTextArea").value.split("\n").filter(r=>r !== "");
let currentSubmission = {skip:true};
let skipToNextSubmission = false;
Expand Down

0 comments on commit b49978c

Please sign in to comment.