Skip to content

Instantly share code, notes, and snippets.

@m-Phoenix852
Created August 26, 2020 07:45
Show Gist options
  • Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 to your computer and use it in GitHub Desktop.
Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 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);
@user5705
Copy link

Awesome. Works

@WiLkINNS
Copy link

WiLkINNS commented Dec 6, 2024

Doesnt seem to work

@gagedevs
Copy link

gagedevs commented Dec 8, 2024

If you have issues, DM me on Discord @xgage

@TheAlphaGhast
Copy link

Doesnt seem to work

doesnt work for me too but seems to work for others

(i think it only works in chrome or so, i didnt test it)

@opusmeta
Copy link

Work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment