Ping -IP -Adresse mit JavaScript

Ping IP Address using javascript:

function ping(url){
 new Image().src=url
}
Above pings the given Url.
Generally used for counters / analytics.
It won't encounter failed responses to client(javascript)
Xabos