Detecting If a User Is Online/Offline with JavaScript | Hacker News Reader