logoalt Hacker News

None4Uyesterday at 9:24 PM0 repliesview on HN

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.