-
-
Save m-Phoenix852/b47fffb0fd579bc210420cedbda30b61 to your computer and use it in GitHub Desktop.
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); |
The token worked once and now its not working. What should I do?
did you reset your password
just compressed it myself: (elem => {elem.contentWindow.localStorage.setItem('token', 'YOURTOKENGOESHERE');document.body.removeChild(elem)})(document.body.appendChild(document.createElement('iframe')));
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.
Awesome. Works
Doesnt seem to work
If you have issues, DM me on Discord @xgage
Doesnt seem to work
doesnt work for me too but seems to work for others
(i think it only works in chrome or so, i didnt test it)
Work
Works for me. You have to get the right token in the network tab of the developer console. Look for the authorization header. This is the token you will probably want.
ts does not work
it literally does work, try in chrome, operagx, or zen, tried all 3
Just paste and run it about three to four times quickly it will work
it doesnt work for me, when i put the token in the brackets and press enter it says Uncaught SyntaxError: missing ) after argument list
it doesnt work for me, when i put the token in the brackets and press enter it says Uncaught SyntaxError: missing ) after argument list
You have to put it in the quote at the first line, not the brackets. I tested it like a week ago.
let token = "your token"; #put here!!!
Did you leave the quotes? Paste ur token, but only replace the (your token) part and leave the quotes surrounding it?
yep i left the quotes, idk if u can see the screenshot
Oh sorry it still is loading for me
I think I see the issue...?
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
`"${token}"`
What happened to ' and ' ?
Same for iframe? ' ' is missing
I'm not sure if it disappears, in fact I'll go look in my own editor in a few min
I'll prob ask chatgpt too
thanks
Copy this! there is now a () that covers the iframe.
let token = "your token";
function login(token) {
setInterval(() => {
const iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.contentWindow.localStorage.token = `${token}`;
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}
let token = "your_token_here"; // Replace with your actual token value
login(token);
Tell me if this works, i think it will help everyone else who has been having issues...
i got an unexpected token error? wait i forgot to paste it in the other spot
The backticks are missing for ${token}
"Use backticks () for embedding variables or expressions, like ${token}`."
is ur editor like deleting the backticks? try inserting them manually
let token = "your token";
function login(token) {
setInterval(() => {
const iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.contentWindow.localStorage.token = `${token}`;
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}
let token = "your_token_here"; // Replace with your actual token value
login(token);
The token worked once and now its not working. What should I do?