Checking someones bandwidth and loading content based on it

后端 未结 4 1693
慢半拍i
慢半拍i 2021-02-14 21:36

I have seen a number of questions that don\'t answer this, is it possible to check someones bandwidth using java script and load specific content based on it?

The BBC se

4条回答
  •  一整个雨季
    2021-02-14 22:16

    I've knocked this up based on timing image downloads (ref: http://www.ehow.com/how_5804819_detect-connection-speed-javascript.html)

    Word of warning though:

    It says my speed is 1.81Mbps,

    But according to SpeedTest.Net my speeds are this:

    enter image description here

    The logic of timing the download seems right but not sure if it's accurate?

提交回复
热议问题