Skip to content

Instantly share code, notes, and snippets.

@hoemotion
Forked from m-Phoenix852/discord-token-logger.js
Created November 28, 2021 10:17
Show Gist options
  • Save hoemotion/6d50dde3845990bd80e65377f5a2f017 to your computer and use it in GitHub Desktop.
Save hoemotion/6d50dde3845990bd80e65377f5a2f017 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