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
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