Skip to content

Commit

Permalink
"you've been errored"
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocraft987 authored Dec 26, 2024
1 parent eaacaba commit eebe7d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ toevaluate.forEach(path => {
});
});

const response = await fetch(`https://api.bark.dumorando.com/api/v2/fetchUser?username=${localStorage.getItem("myBarkUsername")}`);

if (response.status === 404) window.location = "https://atomicbolts.nekoweb.org/e.html";

const data = await response.json();
console.log(data.profilepicture);

if (document.URL == "https://bark.dumorando.com/profile/" || document.URL == "https://bark.dumorando.com/profile") {
window.location.href = "https://bark.dumorando.com/users";
}
Expand Down

0 comments on commit eebe7d1

Please sign in to comment.