BKYou can use it on your next web project. And thank you for your comment Andrei Terecoasa.Reply·Article·May 13, 2021·Detect Internet Connection Status In Browser
BKYeah, that is a normal workaround and you will get the current status but it can't replace the listener. To achieve the behavior of the listener, you will have to implement a polling mechanism.Reply·Article·May 13, 2021·Detect Internet Connection Status In Browser