User Internet Speed Detection

Posted on 2009-05-04
Last Modified: 2012-05-06
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.
Question by:walker6o9
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 13

Accepted Solution

Onthrax earned 500 total points
ID: 24299102
You can do this with javascript.

Check out this page for a working example:

Author Comment

ID: 24299914
This worked great in Safari and FF, but gave me an error in IE6/7:
'bytesLoaded' is undefined
LVL 13

Expert Comment

ID: 24300016
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...

Author Comment

ID: 24300045
Unfortunately, my clients use IE 6 :(.  I know, I know.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question