Is there any way to detect network connection type using javascript? -
i know there way check if user connected 2g, 3g, 4g, or wifi using javascript. of knowledge mozilla provides network information api helps detect general connection type 'wifi', 'cellular' etc.
it wrong approach expose network javascript. anyways better understanding please go through below link
how check connection type (wifi/lan/wwan) using html5/javascript?
and there 1 can of supports mozilla , info can visit below link
https://developer.mozilla.org/en-us/docs/web/api/network_information_api
Comments
Post a Comment