Hacker News new | ask | show | jobs
by None4U 181 days ago
Discord removes the token from localStorage when the web app is open and it's in app memory, and places it back when you close the tab using the "onbeforeunload" event.
1 comments

Yeah, that is what I have observed, too.

You can retrieve it the webpack way though.