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())
@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