ryvan-js / wiremonkey

A javascript realtime internet connection tracker and notifier.
MIT License
13 stars 11 forks source link

navigator.onLine doesn't mean you have internet access #7

Open josephj opened 4 years ago

josephj commented 4 years ago

Hi,

This might be the edge case but the navigator.onLine could be true if it's in a private network without Internet access. This is really different from the legacy way you implemented with a Google image.

By the way, your Google image way is really helpful for me :D