-
Star
(158)
You must be signed in to star a gist -
Fork
(76)
You must be signed in to fork a gist
-
-
Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 to your computer and use it in GitHub Desktop.
| 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); |
for me its working not aswell.
It worked for me. Remember, discord regenerated and changed the token generation a while back and the process to getting it is different now
Discord changed it so you get a one time token every time you login, so you have to be connected to the token somewhere else already for it to work
https://www.androidauthority.com/get-discord-token-3149920/
this seems to work for me in conjunction with the script
also, the first few characters of the localStorage token value, before the colon for me, is the id for never gonna give you up lmao
yall are just retarded
yall are just retarded
“joined 5 days ago”
yall are just retarded
lmao stfu kid
i cant login aswell. This is the error message:
discord.client: logging in using static token
discord.gateway: Shard ID None has connected to Gateway
if someone have the solution please
i cant login any tokken from this script
I have been using this token login script for nearly a year now with no issues. However, over the past month or so I have been having the same issue as everyone else here.
You use the token to login, it proceeds to try to login, goes temporarily to discord.com/app but then refreshes back to the login page as if nothing happened.
And yes, I checked to make sure the tokens are right. Really not sure what is causing this.
just a note to everyone: you can get your token by completing an action such as sending a message, going to the network panel, going to the lowest entry, and getting the authentication or authorization (can't remember which) header from the REQUEST HEADERS(!)
its mad easy yall just retarded use your brain lmao
Show us then.
just a note to everyone: you can get your token by completing an action such as sending a message, going to the network panel, going to the lowest entry, and getting the authentication or authorization (can't remember which) header from the REQUEST HEADERS(!)
this code also works, also copies it to your clipboard:
window.webpackChunkdiscord_app.push([
[Math.random()],
{},
req => {
for (const m of Object.keys(req.c)
.map(x => req.c[x].exports)
.filter(x => x)) {
if (m.default && m.default.getToken !== undefined) {
return copy(m.default.getToken());
}
if (m.getToken !== undefined) {
return copy(m.getToken());
}
}
},
]);
console.log('%cWorked!', 'font-size: 50px');
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');yep it does, but I'm not quite used to webpackChunkdiscord_app
thanks for this. Discord has been really stupid and doesn't allow me to change my email. This is good for the time being after I extracted the seemingly never expiring token from the app
yep it does, but I'm not quite used to
webpackChunkdiscord_app
same heree...
@SuperHarmony910 man I wish someone would document this. Also is the copy function defined in internal discord?
Is this supposed to work when pasting in console ?
Is this supposed to work when pasting in console ?
yeah, but you can also add that into a bookmark on firefox
Yeah nah, doesn't work anymore
I use it daily. It works.
It literally does. No clue what you are doing.
Are you trying this in the web app or the desktop client? Web works for me, and I haven't tested the app
xav#0666 for help
yall are just retarded
use your brain
xav#0666 for help
@xavierskids no one is going to ask you for help lmfao
Does not work for me, it just signed me out of all accounts. Seems like the token store does no longer exist because of Account Switcher, so this script no longer works.
Still works (on the web client at least). I don't get why you are all having issues, it works like a charm.
I know that for me, I have to put the token into the webclient and then spam the command as in this README file
https://github.com/passedout/Discord-Token-Login-Script#discord-token-login-script
Its working for me, how are you sure that its a correct token @Milloper ?