Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 1trackprojects1/6fa5e3a320402ea128f278b7be0fa5ef to your computer and use it in GitHub Desktop.
Save 1trackprojects1/6fa5e3a320402ea128f278b7be0fa5ef to your computer and use it in GitHub Desktop.
Simple script to log in to discord account using token.
let token = "your token";
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}
login(token);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment