Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent e99caad commit 7446d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mkwpp-parser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../common.css">
<title>MKWPP Auto Parser</title>
<script async defer src="./script.js"></script>
</head>
<body>
<div class="Tool">
Expand Down Expand Up @@ -121,4 +120,5 @@ <h2>how are track names read?</h2>
</div>
</div>
</body>
<script async defer src="./script.js"></script>
</html>
2 changes: 1 addition & 1 deletion mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ document.addEventListener("DOMContentLoaded",async function() {
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];
let playerList = profileDocument.getElementsByClassName("playerslist")[0].children[0];
console.log(playerList);
});
}, false);
Expand Down

0 comments on commit 7446d60

Please sign in to comment.