This project is for educational and personal testing purposes only.
It is not intended for misuse, unauthorized access, or any activity that violates Discord's Terms of Service.
Do NOT use this with any token other than your own.
Public distribution or use of this script for malicious purposes is strictly prohibited.
You are responsible for how you use this β read and understand the code before running it.
A simple bookmarklet that allows you to log into the web version of Discord using your account token.
It prompts you for a token and injects it into local storage, then reloads the page to log in.
The script:
- Prompts for a Discord token.
- Injects the token into
localStorage. - Reloads the page to trigger login.
- Copy the bookmarklet code.
- Create a new bookmark in your browser.
- Paste the code into the URL field of the bookmark.
- Go to https://discord.com/login.
- Click the bookmark.
- When prompted, enter/paste your Discord token.
- The page will reload and log you in.
- Open this page in your browser.
- Drag the "Discord Token Login" button to your bookmarks bar.
- Go to https://discord.com/login.
- Click the bookmarklet and enter your token when prompted.
Paste this as the URL of a bookmark in your browser:
javascript:(function(){let t=prompt("Enter your Discord token:");if(!t)return;function login(token){setInterval(()=>{document.body.appendChild(document.createElement('iframe')).contentWindow.localStorage.token=`"${token}"`},50);setTimeout(()=>{location.reload()},2500)}login(t);})();