📜  使用 javascript 代码示例 ping ip 地址

📅  最后修改于: 2022-03-11 15:01:36.403000             🧑  作者: Mango

代码示例1
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)