DEV Community

Cover image for Can I use Google API to check internet connectivity?
Syed Umair
Syed Umair

Posted on

Can I use Google API to check internet connectivity?

I am writing a network checker that is effective than navigator.onLine. It fails to detect the internet connectivity in the local network.

I found this link http://clients3.google.com/generate_204 in the chromium blog post and planning to use this in the module.

Your thoughts are welcome.

Top comments (0)