Skip to content

Instantly share code, notes, and snippets.

@raxximus
Created October 13, 2021 05:32
Show Gist options
  • Save raxximus/e1a21c91c9d4f1670596ddd52f66ffd3 to your computer and use it in GitHub Desktop.
Save raxximus/e1a21c91c9d4f1670596ddd52f66ffd3 to your computer and use it in GitHub Desktop.
Simple script to login discord account with token
javascript:function login(token) { setInterval(() => { document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` }, 50); setTimeout(() => { location.reload(); }, 2500); } function NEWTOKEN(){ var NEW = prompt("Enter the token to login :)"); return NEW } login(NEWTOKEN())
@raxximus
Copy link
Author

so, did it work?

@moshem1234
Copy link

I'm not getting it I'm not sure why. The screen grays out a little but I get no prompt to input a token.

so, did it work?

Not quite. The screen greys out slightly but no prompt comes up to input my token

@raxximus
Copy link
Author

maybe you are doing it wrong and sorry for my bad english :(
Im sending a video

@moshem1234
Copy link

maybe you are doing it wrong and sorry for my bad english :( Im sending a video

No problem. Thank you so much for your help

@raxximus
Copy link
Author

here's a video I made, hopefully it will help you :)

https://youtu.be/XbVeYNmzZcs

@moshem1234
Copy link

image
It gives me this and then does nothing

@raxximus
Copy link
Author

Are you on IOS, also try cancel

@moshem1234
Copy link

Are you on IOS, also try cancel

That screenshot is from ios and cancel doesn't do anything. On android, it gives me the correct prompt, but then just reloads the login screen

@raxximus
Copy link
Author

hmm.., maybe it didnt work for you :(
also are you on firefox and your android version?

@raxximus
Copy link
Author

wait what!! , delete it you just made your token public

@moshem1234
Copy link

wait what!! , delete it you just made your token public

Oops. Didn't think about that. I'll regenerate a new one. But did you see what I mean it just brings back the original login page?

@raxximus
Copy link
Author

welp, yes I see that, also I remember another method I mean I made another back in the day, and it was working with phones without any issue, Im searching for it again

Also can you try it with chrome this time?

@moshem1234
Copy link

Sure

@raxximus
Copy link
Author

Hello! , did it work on chrome?

@moshem1234
Copy link

Hello! , did it work on chrome?

Unfortunately no

@raxximus
Copy link
Author

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