Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

User Internet Speed Detection

Is there a way I can get information on how fast the person viewing my sites internet speed is, so that i can only run certain javascript, jquery, or ajax functions if there are at a certain speed?  Ideally with one of the aforementioned languages rather than a server-side language.
0
walker6o9
Asked:
walker6o9
  • 2
  • 2
1 Solution
 
OnthraxCommented:
You can do this with javascript.

Check out this page for a working example:

http://ditio.net/2008/08/06/detect-connection-speed-with-javascript/
0
 
walker6o9Author Commented:
This worked great in Safari and FF, but gave me an error in IE6/7:
'bytesLoaded' is undefined
0
 
OnthraxCommented:
Yeah I noticed that also. Seems onProgress is not supported by IE :(

I'll see if I can dig up an alternative.. if not at least you got it working for all other browsers except IE...
0
 
walker6o9Author Commented:
Unfortunately, my clients use IE 6 :(.  I know, I know.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now