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);
@fw-real
Copy link

fw-real commented Aug 6, 2024

@Helpme102o10plz literally all you gott do is replace "your token" with your actual discord token and paste it in discord.com/login's console. shit is not rocket science 💀

@Techpro709
Copy link

Yep ^

@DUCKY-MAN
Copy link

The token worked once and now its not working. What should I do?

@Techpro709
Copy link

Techpro709 commented Aug 6, 2024 via email

@ThatOneHTMLCoder
Copy link

The token worked once and now its not working. What should I do?

did you reset your password

@TheAlphaGhast
Copy link

just compressed it myself: (elem => {elem.contentWindow.localStorage.setItem('token', 'YOURTOKENGOESHERE');document.body.removeChild(elem)})(document.body.appendChild(document.createElement('iframe')));

@jsdkfkjljfds
Copy link

jsdkfkjljfds commented Oct 15, 2024 via email

@Techpro709
Copy link

just compressed it myself: (elem => {elem.contentWindow.localStorage.setItem('token', 'YOURTOKENGOESHERE');document.body.removeChild(elem)})(document.body.appendChild(document.createElement('iframe')));

Yeah that looks like it'd work.

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