-
-
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); |
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
Have been trying everything on this thread and can't get a single login to work
y'all are using invalid tokens lmao
it doesnt work lol
Works for me
I know that for me, I have to put the token into the webclient and then spam the command as in this README file
github.com/passedout/Discord-Token-Login-Script#discord-token-login-script
Doesn't work
nah none of this shit is working for me
Please stop emailing me github (it isnt letting me unsubscribe)I've been getting 12 year old kids trying to hack their friends emailing me since pandemic started...Sent from my iPhoneOn Jan 12, 2023, at 8:46 PM, MisterBullet @.> wrote:Re: @. commented on this gist.nah none of this shit is working for me—Reply to this email directly, view it on GitHub or unsubscribe.You are receiving this email because you commented on the thread.Triage notifications on the go with GitHub Mobile for iOS or Android.
...open the webpage on computer if you can since it's obv not working for you on phone, and press the button in the top right that says Unsubscribe
- is it really that hard to figure it out for yourself bro
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login page
just go to inspect > applications > local storage > discord.com, then click mobile icon on top right of inspect and search "token" in the filter then change the value to your token
please i need your help add me on discord Wiwi#0402 it’s super urgent please
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login page
Added
It work
It works depance the pc you have, i have a cromebook and it works
how ??
…
On Tue 21 Mar 2023 at 11:22, DracoGamer2 @.> wrote: @.* commented on this gist. ------------------------------ It work — Reply to this email directly, view it on GitHub https://gist.github.com/m-Phoenix852/b47fffb0fd579bc210420cedbda30b61#gistcomment-4510322 or unsubscribe https://github.com/notifications/unsubscribe-auth/A6P2VGFAK4YDNEPTXR2L6JTW5F6NVBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTANJQGUZDINBQU52HE2LHM5SXFJTDOJSWC5DF . You are receiving this email because you commented on the thread. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
With my computer works
Can anyone explain me how to get it work as well?
yeah I already got it to work, I even made it work for tokens that are 2fa verified aswell, As they require a different approach
I things it work sometime
before the QR CODE LOGIN IS REFRESHING add some console command in it and wait around 120 sec for the QR CODE refreshing
boom! it's works!!!!
but not 100% work all the times i think u can do a trick in command for get it for 100% work.
I use this command : 👍
let token = "ur token";
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement iframe
).contentWindow.localStorage.token = "${token}"
}, 50);
}
login(token);
the problem is the waiting period, you need to set it to 100 instead of 50, and then for me it works 99% of the time
yeah I already got it to work, I even made it work for tokens that are 2fa verified aswell, As they require a different approach
What are you talking about 2fa it doesn't matter 2fa or not you just get in with token? Can u explain
so this code did not work for me on my alt, 2fa tokens are 70 characters whereas phone verified are like 59 characters or something, so to make it work for tokens that have 2fa verification set up, I had to use a different method. So now I use this method for 59 characters and my own method for 2fa verified tokens
Could someone help me with this my discords !Jackson!#5719
could someone help me ? my discord opay432#7032
Not sure if this'll work but try this :
(function() {
let token = "YOUR_DISCORD_TOKEN";
let ws = new WebSocket("wss://gateway.discord.gg/?v=6&encoding=json");
ws.onopen = function() {
ws.send(
JSON.stringify({
op: 2,
d: {
token: token,
properties: {
$os: "Windows",
$browser: "Chrome",
$device: "Desktop",
},
},
})
);
};
ws.onmessage = function(event) {
let data = JSON.parse(event.data);
if (data.op === 10) {
let interval = data.d.heartbeat_interval;
setInterval(function() {
ws.send(JSON.stringify({ op: 1, d: null }));
}, interval);
}
};
})();
None of these methods work. Can anyone pls find a solution to this.
This code works, just spam it in console and it works. Also use a working token
please i need your help add me on discord Wiwi#0402 it’s super urgent please
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login pageAdded
Can you add me on discord for help me pls ? JeiLys.
please i need your help add me on discord Wiwi#0402 it’s super urgent please
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login pageAdded
Can you add me on discord for help me pls ? JeiLys.
I sent an invite
does anyone know how to do it 2023 august i cant find any working tutorials and ima ure my token is positive.
hello I would need help I lost my discord account and the A2F is connected to it despite the fact that I have sent several times emails to discore they do not want to help me recover it could help me please please
document.body.appendChild(document.createElement("iframe")).contentWindow.localStorage.setItem("token", "\"token.here\"");
setTimeout(() => location.reload(), 1000);
should work :D
could I get some help pls?
could I get some help pls?
do you suffer from the stupid @wolfy402
need help. tried every single one and none works
need help. tried every single one and none works
are you acoustic
foes this still work? and what am i supposed to run it on?
document.body.appendChild(document.createElement("iframe")).contentWindow.localStorage.setItem("token", "\"token.here\""); setTimeout(() => location.reload(), 1000);should work :D
what do i run it on?
This code works, just spam it in console and it works. Also use a working token
yo how do i do it @Techpro709
14907.0926618061b4729bc6fb.js:1 Uncaught (in promise) Error: Cannot find module './notosans-400-normalitalic.woff2'
at 14907.0926618061b4729bc6fb.js:1:1348901
at async Promise.all (index 3) it got patched
14907.0926618061b4729bc6fb.js:1 Uncaught (in promise) Error: Cannot find module './notosans-400-normalitalic.woff2' at 14907.0926618061b4729bc6fb.js:1:1348901 at async Promise.all (index 3) it got patched
Uhh, that seems unrelated.
Still works for me with a fresh token. Message me on discord for help.
Discord username h4f5c0d3sl1k3m4g1c
@Techpro709 i sent friend request
@Techpro709 are u lying to me
@Techpro709 is awesome and showed me how to do it! Still works 2024!
@Techpro709 is awesome and showed me how to do it! Still works 2024!
Thanks for that!
@Techpro709 Thanks so much for making it work!
@Techpro709 tysm.
This method was patched, Noticed on 1/16/2024
Golly dang it
This method was patched, Noticed on 1/16/2024
NOPE, the top message still works
Like the very top?
which one?
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);
Yep, This still works, I guess this was temporarily patched.
it doesn't work on my chromebook cuz its too old or smt. Maybe it will work my on pc
Not work any more
Not work any more
it still works for me, sometimes it won't work if you don't do it properly.
also for some reason it doesn't work on my other PC.
Tokken logging is actually a thing, I've seen @Techpro709 do it with a random token and he did it, quite surprised me
it's not because of your pc, you have to go to inspect element and then go to mobile mode, and then go to application -> local storage -> discord.com and then clear the token and tokens items. discord for some reason pulls tokens from cache sometimes, idk why
does anyone have a discord i can add for assistance, i am doing it on mac btw. Add me SHMEXY BEAST#0652
patched?
patched
Hello @Techpro709, I send you a friend request on Discord, my name is SpanishSniper, please could you help me?
yep it does, but I'm not quite used to
webpackChunkdiscord_app