Skip to content

Instantly share code, notes, and snippets.

@m-Phoenix852
Created August 26, 2020 07:45
Show Gist options
  • Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 to your computer and use it in GitHub Desktop.
Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 to your computer and use it in GitHub Desktop.
Simple script to log in to discord account using token.
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);
@R3d-Developer
Copy link

Im on opera and script doesent work does anybody know if its patched? its keep givin me the error :Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'"

and honeslty i tried multiple things but dont seem to find nothin that works

@bigpaster12345
Copy link

yeah i think it doesnt work at all anymore, nothing i try seems to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment