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

m8cx commented Oct 29, 2023

could I get some help pls?

do you suffer from the stupid @wolfy402

@KyloSoot
Copy link

need help. tried every single one and none works

@m8cx
Copy link

m8cx commented Nov 9, 2023

need help. tried every single one and none works

are you acoustic

@Heroscarman
Copy link

foes this still work? and what am i supposed to run it on?

@Heroscarman
Copy link

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?

@Heroscarman
Copy link

This code works, just spam it in console and it works. Also use a working token

yo how do i do it @Techpro709

@Heroscarman
Copy link

PrmWiny

@PrmWiny what did you execute it on?

@SplashAni
Copy link

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

@Techpro709
Copy link

Techpro709 commented Jan 2, 2024

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

https://proton.hackclub.com/.t3ch_/

@Heroscarman @SplashAni

@Heroscarman
Copy link

@Techpro709 i sent friend request

@Heroscarman
Copy link

@Techpro709 are u lying to me

@pycharmergirl
Copy link

@Techpro709 is awesome and showed me how to do it! Still works 2024!

@Techpro709
Copy link

@Techpro709 is awesome and showed me how to do it! Still works 2024!

Thanks for that!

@jsdkfkjljfds
Copy link

@Techpro709 Thanks so much for making it work!

@oreOw1lk
Copy link

@Techpro709 tysm.

@Techpro709
Copy link

This method was patched, Noticed on 1/16/2024

@jsdkfkjljfds
Copy link

Golly dang it

@Anton9640
Copy link

This method was patched, Noticed on 1/16/2024

NOPE, the top message still works

@jsdkfkjljfds
Copy link

Like the very top?

@jsdkfkjljfds
Copy link

which one?

@Techpro709
Copy link

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.

@jsdkfkjljfds
Copy link

it doesn't work on my chromebook cuz its too old or smt. Maybe it will work my on pc

@farzadkb
Copy link

Not work any more

@Techpro709
Copy link

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.

@ClearlyHere
Copy link

Tokken logging is actually a thing, I've seen @Techpro709 do it with a random token and he did it, quite surprised me

@jsdkfkjljfds
Copy link

jsdkfkjljfds commented Feb 26, 2024 via email

@gagedevs
Copy link

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

@KingSuccar
Copy link

does anyone have a discord i can add for assistance, i am doing it on mac btw. Add me SHMEXY BEAST#0652

@S0dxu
Copy link

S0dxu commented Mar 23, 2024

patched?

@MateusRyder
Copy link

patched

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