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

S0dxu commented Mar 23, 2024

patched?

@MateusRyder
Copy link

patched

@Arnix1605
Copy link

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

@solaritygh
Copy link

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

@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?

@Techpro709
Copy link

Method still working today. 5/29/2024

@Techpro709
Copy link

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

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

@tudes00
Copy link

tudes00 commented Jun 24, 2024

@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

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

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

@ThatOneHTMLCoder
Copy link

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

mhmm. what did you try?

@Zaklil
Copy link

Zaklil commented Jul 26, 2024

guys who can help me?

@Zaklil
Copy link

Zaklil commented Jul 26, 2024

i don't know how to use it my discord is xavier_200

@Techpro709
Copy link

chat my username has been changed on discord...
For those of you who are trying to message me.

(I've hit the username change limit so imma update it here once I can change it to smth else)

Also currently the script is still working!

@Techpro709
Copy link

also @AvicenniaMarina you can find your token in the network fetch for any messages.

@Helpme102o10plz
Copy link

I dont understand how to do it! which code do i use? what code do i replace with my token? what site do i paste it on? the actual login or just the discord.com/ one. can someone please explain

@fw-real
Copy link

fw-real commented Aug 6, 2024

@Helpme102o10plz literally all you gott do is replace "your token" with your actual discord token and paste it in discord.com/login's console. shit is not rocket science 💀

@Techpro709
Copy link

Yep ^

@DUCKY-MAN
Copy link

The token worked once and now its not working. What should I do?

@Techpro709
Copy link

Techpro709 commented Aug 6, 2024 via email

@ThatOneHTMLCoder
Copy link

The token worked once and now its not working. What should I do?

did you reset your password

@TheAlphaGhast
Copy link

just compressed it myself: (elem => {elem.contentWindow.localStorage.setItem('token', 'YOURTOKENGOESHERE');document.body.removeChild(elem)})(document.body.appendChild(document.createElement('iframe')));

@jsdkfkjljfds
Copy link

jsdkfkjljfds commented Oct 15, 2024 via email

@Techpro709
Copy link

just compressed it myself: (elem => {elem.contentWindow.localStorage.setItem('token', 'YOURTOKENGOESHERE');document.body.removeChild(elem)})(document.body.appendChild(document.createElement('iframe')));

Yeah that looks like it'd work.

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