Home » Checking external internet connections with jQuery

Checking external internet connections with jQuery

Checking external internet connections is helpful for users behind proxies. This script will attempt to download a google-hosted image. You may also find this page helpful.

Checking external internet connections Requirements

A local copy of jQuery.

How it works

It works by checking if a google-hosted image loads. To prevent the image from being cached, add a QueryString with date (new Date()) and time (getTime()) parameters.

The Script

Copy the script and paste it inside your body tag. Include a link to a local version of jQuery in your head region.

Checking external internet connections

Leave a Reply

Your email address will not be published. Required fields are marked *


*