开发者

ping cross domain url with javascript?

开发者 https://www.devze.com 2023-02-16 21:27 出处:网络
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 usin

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

精彩评论

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

关注公众号