How To Execute Script In Chrome Console
-
Hi im trying to execute a script in the chrome console with JavaScript, but its not working at all. Can someone help me with this? Im trying to login into discord with a token but cant get it to work; I know there was another topic about this but it didnt help at all because all the person said was to use JavaScript. The script im trying to execute can be seen below. Any help is appreciated :)!
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElementiframe
).contentWindow.localStorage.token ="${token}"
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}login('PASTE TOKEN HERE')
-
@WolfBeasty said in How To Execute Script In Chrome Console:
Hi im trying to execute a script in the chrome console with JavaScript, but its not working at all. Can someone help me with this? Im trying to login into discord with a token but cant get it to work; I know there was another topic about this but it didnt help at all because all the person said was to use JavaScript. The script im trying to execute can be seen below. Any help is appreciated :)!
Have you tried using forum search?
-
@Fox Yes I have. I had no luck with finding anything.
-
@WolfBeasty said in How To Execute Script In Chrome Console:
@Fox Yes I have. I had no luck with finding anything.
I don't believe you, this issue has been raised many times:
https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fcommunity.bablosoft.com+discord+token
-
@Fox All those (but a topic you replied in) are how to get the token, not how to login. They are the exact same thing im doing (using javascript) and I cant get nothing to work.
-
@WolfBeasty said in How To Execute Script In Chrome Console:
@Fox All those (but a topic you replied in) are how to get the token, not how to login. They are the exact same thing im doing (using javascript) and I cant get nothing to work.
The first link leads to the topic where the code is applied for authorization on the site through a token, and not to receive a token:
https://community.bablosoft.com/topic/19162/token-discord
-
@Fox Ok so I did that and ive been doing that. But for some reason anytime the script gets executed it looks like its going through just fine and then the page refreshes back to the login screen.
-
@Fox Ok nevermind thanks for the help. I didnt see that link when I searched that link you sent me. But all I had to do was remove the quotation marks in my own script and it worked.