Ping cross domain url with javascript?

Is there a way that I can ping sites like http://google.com (without providing any interface) using only JavaScript.

+4
source share
1 answer

Cannot ping from browser using Javascript. There are some hacks that allow you to do something similar under certain conditions.

You can find some information here on stackoverflow:

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

+1
source

Source: https://habr.com/ru/post/1343423/


All Articles