Created
August 26, 2020 07:45
-
-
Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 to your computer and use it in GitHub Desktop.
Simple script to log in to discord account using token.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
is it just that?
…On Tue, Oct 15, 2024 at 11:37 AM TheAlphaGhast ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
just compressed it myself: (elem =>
{elem.contentWindow.localStorage.setItem('token',
'YOURTOKENGOESHERE');document.body.removeChild(elem)})(document.body.appendChild(document.createElement('iframe')));
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/m-Phoenix852/b47fffb0fd579bc210420cedbda30b61#gistcomment-5235444>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFJCLUARWGL2AZAL4N54PVLZ3UZBXBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTANJQGUZDINBQU52HE2LHM5SXFJTDOJSWC5DF>
.
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>
.
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
just compressed it myself: (elem => {elem.contentWindow.localStorage.setItem('token', 'YOURTOKENGOESHERE');document.body.removeChild(elem)})(document.body.appendChild(document.createElement('iframe')));