Just noticed that the "LastVersion" file in the profile folder, as the name suggests, gets updated when the profile is opened with (another version of) BAS e.g. from 114.0.5735.91 to 117.0.5938.63. Therefore it's not suitable for our need to determine the original version of which a profile was created.
But at least can be said what was the latest BAS version that worked with it ;)
How to get a Discord token?
-
Save your money Brother. Create a Variable named Token. And use the Code below.
Browser => Javascriptfunction gettoken(){var e="";try{var m=[],e=eval("(webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()")}catch{try{var gotem="",req=webpackJsonp.push([[],{extra_id:(e,t,r)=>e.exports=r},[["extra_id"]]]);for(let e in req.c)if(req.c.hasOwnProperty(e)){let t=req.c[e].exports;if(t&&t.__esModule&&t.default)for(let e in t.default)"getToken"===e&&(gotem=t.default.getToken())}null==gotem&&new Error;var e=gotem}catch{var e=document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.token}return e.replace('"',"").replace('"',"")}} [[TOKEN]] = gettoken(); [[TOKEN]] = gettoken();Use this my solution for free instead.

Also please leave a reputation. -
@NotWegant Damn nice work.
-
-
@HYI said in How to get a Discord token?:
@NotWegant I new to coding and have no idea on how to use please show me your ways:(
everything is shown there man, dont begin directly with discord anyway, its way to complex, try simple things and then you go further
-
@NotWegant listen, there was one moment, this code sometimes stopped working right now
-
@zxcawsdik create TOKEN variable,
Browser => Javascript[[TOKEN]] = (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()similar solution, I think this should work lol
-
@NotWegant said in How to get a Discord token?:
[[TOKEN]] = (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()
Thanks, it worked fine
And here is the code if you want to log in with the token you gotfunction login(token) { setInterval(() => { document.body.appendChild(document.createElement
iframe).contentWindow.localStorage.token ="${token}"}, 50); setTimeout(() => { location.reload(); }, 2500); } login('PASTE TOKEN HERE')