DEV Community

Checking for internet speed using Javascript

talent on June 15, 2022

Check Internet speed using JavaScript to render elements conditionally The downlink read-only property of the Network Information interface retu...
Collapse
 
dennistobar profile image
Dennis Tobar

mmmm... around 65% of usage: caniuse.com/mdn-api_navigator_conn... and in Firefox you need authorize the feature
Good idea, but it need to be checked before to use :)

(see developer.mozilla.org/en-US/docs/W... )

Collapse
 
sojinsamuel profile image
Sojin Samuel

Bravo

Collapse
 
talenttinaapi profile image
talent

The things Javascript can do are pretty amazing!!

Collapse
 
mamedul profile image
Mamedul Islam

You can measure actual internet speed by building a speed test. I created a project for checking real-time internet speed:

Demo: iSpeedTest
Source code: GitHub Repository

This project allows you to calculate download/upload speed and ping, which can help approximate your WiFi bandwidth and performance.