Skip to content

Instantly share code, notes, and snippets.

@m-Phoenix852
Created August 26, 2020 07:45
Show Gist options
  • Select an option

  • Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 to your computer and use it in GitHub Desktop.

Select an option

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);
@Heroscarman

Copy link
Copy Markdown

PrmWiny

@PrmWiny what did you execute it on?

@SplashAni

Copy link
Copy Markdown

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

@pxldevv

pxldevv commented Jan 2, 2024

Copy link
Copy Markdown

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
Copy Markdown

@Techpro709 i sent friend request

@Heroscarman

Copy link
Copy Markdown

@Techpro709 are u lying to me

@pycharmergirl

Copy link
Copy Markdown

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

@pxldevv

pxldevv commented Jan 9, 2024

Copy link
Copy Markdown

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

Thanks for that!

@jsdkfkjljfds

Copy link
Copy Markdown

@Techpro709 Thanks so much for making it work!

@pxldevv

pxldevv commented Jan 16, 2024

Copy link
Copy Markdown

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

@jsdkfkjljfds

Copy link
Copy Markdown

Golly dang it

@Anton9640

Copy link
Copy Markdown

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

NOPE, the top message still works

@jsdkfkjljfds

Copy link
Copy Markdown

Like the very top?

@jsdkfkjljfds

Copy link
Copy Markdown

which one?

@pxldevv

pxldevv commented Feb 14, 2024

Copy link
Copy Markdown
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
Copy Markdown

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

@farzadkb

Copy link
Copy Markdown

Not work any more

@pxldevv

pxldevv commented Feb 18, 2024

Copy link
Copy Markdown

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.

@jsdkfkjljfds

jsdkfkjljfds commented Feb 26, 2024 via email

Copy link
Copy Markdown

@gagedevs

Copy link
Copy Markdown

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
Copy Markdown

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

@S0dxu

S0dxu commented Mar 23, 2024

Copy link
Copy Markdown

patched?

@Arnix1605

Copy link
Copy Markdown

Hello @Techpro709, I send you a friend request on Discord, my name is SpanishSniper, please could you help me?

@solaritygh

Copy link
Copy Markdown

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

It worked for me. Just set the token variable to mine, and pressed CTRL+R

@solaritygh

Copy link
Copy Markdown

@solaritygh can u help me please? Add my discord oreo_w1lk thank you

my discord is more for personal stuff, but what issues are you having?

@pxldevv

pxldevv commented May 29, 2024

Copy link
Copy Markdown

Method still working today. 5/29/2024

@pxldevv

pxldevv commented May 29, 2024

Copy link
Copy Markdown

Simply substitute token variable with your token, and enter into console.
Sometimes according to the person who made the script you have to SPAM IT into console.
(if it's not working you have the wrong token)

@AvicenniaMarina

Copy link
Copy Markdown

Could you help me please wit an instruction - where can I get the right token?

@tudes00

tudes00 commented Jun 24, 2024

Copy link
Copy Markdown

@Techpro709 helped me and the script worked, thanks!
If you need help, send him a request on discord, he replied within the day.

@R3d-Developer

Copy link
Copy Markdown

Im on opera and script doesent work does anybody know if its patched? its keep givin me the error :Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'"

and honeslty i tried multiple things but dont seem to find nothin that works

@bigpaster12345

Copy link
Copy Markdown

yeah i think it doesnt work at all anymore, nothing i try seems to work

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