This allows a user to use a discord token in the browser inspector console to access the account.
Code:
place this 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);