Monday, May 17, 2010

JavaScript Ping

After doing mountains of research and testing on the subject, I've come to the unfortunate conclusion that a Client-Side JavaScript Ping program is impossible to do.

I thought that maybe I'd be able to monkey around in some clever way of using page-loads and time measuring, but it doesn't work. Unfortunately the event handler for onLoad doesn't work exactly how you would expect thus the getTime() function doesn't actually time the page load.

I thought I could work around this by opening new windows, and time it with the window.onLoad event, but this didn't work out either.

Curse you JavaScript! This is something that would be very beneficial for better web software! I suppose I may be able to implement this in VBScript instead. There will be news if I have any success.

No comments:

Post a Comment