Spaces:
Running
Running
File size: 800 Bytes
a7c6f05 17d2dee |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Proxy Detection</title>
</head>
<body>
<h1>Proxy Detection Test</h1>
<p id="result">Checking for proxy...</p>
<script>
// Function to check if the image fails to load
function checkProxy() {
var img = new Image();
img.onload = function() {
document.getElementById('result').innerText = 'No Proxy Detected';
};
img.onerror = function() {
document.getElementById('result').innerText = 'Proxy Detected';
};
// Using an IP address enclosed in square brackets
img.src = 'http://[74.207.246.197]/pic.jpg';
}
// Run the proxy check
checkProxy();
</script>
</body>
</html>
|