@qhth2128 use Set Variable in Bas at blank is ok
How to login to Discord with TOKEN [JavaScript]
-
I try Javascript to login to discord accounts with token in B.A.S program but it redirects me to the discord.com/login page again
I looked at the topics in the forum, maybe I can solve it, but it didn't work, I keep getting an error.
i am using this codefunction login(token) {
setInterval(() => {
document.body.appendChild(document.createElementiframe).contentWindow.localStorage.token ="${token}"
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}
login("")


-
Is your token valid and still working?
if that is the case use this code.(function() {window.t = "TOKENHERE";window.localStorage = document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage;window.setInterval(() => window.localStorage.token = `"${window.t}"`); window.location.reload();})();For me this codes works always.
-
@NotWegant i solved the problem but i have another problem i wrote you via telegram
-
I did not receive any message from you, how do you have my telegram?
please dm me again: https://t.me/tokifynet -
@NotWegant said in How to login to Discord with TOKEN [JavaScript]:
Is your token valid and still working?
if that is the case use this code.(function() {window.t = "TOKENHERE";window.localStorage = document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage;window.setInterval(() => window.localStorage.token = `"${window.t}"`); window.location.reload();})();For me this codes works always.
You help me a lot. Thank you very much.