开发者

ping cross domain url with javascript?

Is there any way that I can ping sites like http://google开发者_StackOverflow.com (without them providing any pining interface) using only JavaScript.


It is not possible to 'ping' from a browser using Javascript. There are some hacks available that allow you to do something similar under specific conditions.

You can find some information here at stackoverflow:

How to ping IP addresses using JavaScript
Is it possible to ping a server from Javascript?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜