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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -