---
title: "Discussion on \"🚀 Detecting If a User is Online/Offline with JavaScript\" | Hashnode"
description: "Discussion on \"🚀 Detecting If a User is Online/Offline with JavaScript\". As developers, we sometimes get used to our great broadband in our offices and localhost being the fastest site ever with no network issues.\nIn fact, what a lot of people forget is just over half of all internet traffic is driven over mobile phones a..."
url: "https://hashnode.com/posts/detecting-if-a-user-is-onlineoffline-with-javascript/6008530077d8da2629c944b0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🚀 Detecting If a User is Online/Offline with JavaScript](https://nialljoemaher.hashnode.dev/detecting-if-a-user-is-onlineoffline-with-javascript?utm_source=hashnode&utm_medium=feed)

As developers, we sometimes get used to our great broadband in our offices and localhost being the fastest site ever with no network issues. In fact, what a lot of people forget is just over half of all internet traffic is driven over mobile phones a...

Jan 20, 2021 · 7 min read · nialljoemaher.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#ui-design](https://hashnode.com/tag/ui-design)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Niall Maher](https://hashnode.com/@nialljoemaher)

@nialljoemaher · Dublin, Ireland

  
[View profile](https://hashnode.com/@nialljoemaher)

Founder of Codú - The web developer community! I've worked in nearly every corner of technology businesses; Lead Developer, Software Archite

Based in Dublin, Ireland but happy to help with everyone globally so if you have any questions, please get in touch. I'm self-thought Web Developer that has coded my way to a CTO position. I love sharing my experience and knowledge from my career, so follow me if you are interested in building a better career and building better web applications. I've worked as an advisor on the WeWork global expert network and help businesses locally (and not so locally) develop their businesses for acquisition. I've worked with businesses all over the world, helping them build better products and teams.

## Responses 1

Markdown supported · ⌘↵ to post

[Bhargav Ponnapalli](https://hashnode.com/@codewithbhargav)

[Jan 21, 2021](https://hashnode.com/posts/detecting-if-a-user-is-onlineoffline-with-javascript/6008530077d8da2629c944b0/comment/60098ca773a48b42ffd4356f)

Solid article Niall Maher.

There is so much in the navigator object that needs to be talked about.

Good one!
