Solved

User Internet Speed Detection

Posted on 2009-05-04
4
209 Views
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.
0
Comment
Question by:walker6o9
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
Onthrax earned 500 total points
ID: 24299102
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
 
LVL 1

Author Comment

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

Expert Comment

by:Onthrax
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...
0
 
LVL 1

Author Comment

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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 Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

830 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