I want to test if the user has an active internet connection.
I know we can do it with navigator.Online, but I don't think it works when the user has a limited WiFi network.
I need to show a popup if the user has been disconnected/has a limited WiFi network