Opening Discord
Firstly, you need to open Discord on your browser. Discord offers this feature at discord.com/app. Log into Discord with your normal credentials or 2-Factor-authentication method.
Getting your token
Press F12 on your keyboard to open the developer tools. Your browser might ask if you want to open DevTools. Press Yes. Next up, open the browser console by clicking Console. You should see a text input now. Paste the following code and type enter.
window.webpackChunkdiscord_app.push([[Symbol()],{},o=>{for(let e of Object.values(o.c))try{if(!e.exports||e.exports===window)continue;e.exports?.getToken&&(token=e.exports.getToken());for(let o in e.exports)e.exports?.[o]?.getToken&&"IntlMessagesProxy"!==e.exports[o][Symbol.toStringTag]&&(token=e.exports[o].getToken())}catch{}}]),window.webpackChunkdiscord_app.pop(),token;navigator.clipboard.writeText(token);try{window.open().document.write(`${token}`)}catch{alert(token)};token;
This is either going to copy the token or display it to you.