Why do you want to test for this? Do you really want to know if they can see site X? I can have a live connection but if my proxy fails etc. I effectively don't...
I wonder if you are trying to solve the right problem. Adam On 14/04/06, Brian King <[EMAIL PROTECTED]> wrote: > What is the best way for an extension to detect if a user is > online/offline? I'm not talking about, for example, the Work Offline > feature in Firefox, but rather about whether they have an internet > connection at the time a particular piece of code is executing. > > Thanks, > -- > Brian King > www.mozdev.org - free project hosting for the Mozilla community > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
