vendredi 5 février 2016

detect internet speed, running if function to load different index html files

I am using speedof.me api to detect the speed, based on the download result I need to load 3 or 4 different index files. This a beginner question, but I have been trying to read the object's "testResult.download" property for hours and run it on an if function, then do actions.

Aucun commentaire:

Enregistrer un commentaire