Auto IP Tracker WebApp | Track IP in Hacker Style with Pure HTML, CSS, JS – FuzzuTech
Demo :
Click Video πππ
π Features:
-
Auto IP detection with
fetch
from ipify -
Hacker-themed terminal UI
-
Fully responsive and lightweight
-
Fake tracking lines to simulate IP trace
-
No external dependencies (except fetch)
Code :
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Auto IP Tracker - FuzzuTech</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="tracker-container">
<h1>Auto IP Tracker in WebApp</h1>
<button onclick="autoTrackIP()">Auto Detect & Track</button>
<pre id="output">Click the button above to detect your IP and start tracking...</pre>
</div>
<script src="script.js"></script>
</body>
</html>
style.css
body {
background-color: #000;
color: #0f0;
font-family: 'Courier New', monospace;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.tracker-container {
background-color: #111;
border: 2px solid #0f0;
padding: 25px;
border-radius: 15px;
box-shadow: 0 0 20px #0f0;
width: 90%;
max-width: 600px;
text-align: center;
}
button {
padding: 10px 30px;
font-size: 18px;
background-color: #00ff99;
color: #000;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 0 10px #00ff99;
transition: 0.3s;
}
button:hover {
background-color: #00cc88;
}
pre {
background-color: #000;
color: #0f0;
text-align: left;
margin-top: 20px;
padding: 20px;
border-radius: 10px;
box-shadow: inset 0 0 10px #0f0;
height: 200px;
overflow-y: auto;
}
script.js
function autoTrackIP() {
const output = document.getElementById("output");
output.innerText = "Detecting your IP address...";
fetch('https://api.ipify.org?format=json')
.then(response => response.json())
.then(data => {
const ip = data.ip;
const fakeTracking = [
`Detected IP: ${ip}`,
"Connecting to secure server...",
"Encrypting session...",
"Accessing ISP database...",
"Tracking IP location...",
"Location: New Delhi, India",
"ISP: Reliance Jio Fiber",
"Ping: 15ms",
"Status: Active π₯",
];
output.innerText = "";
fakeTracking.forEach((line, i) => {
setTimeout(() => {
output.innerText += line + "\n";
}, i * 700);
});
})
.catch(() => {
output.innerText = "❌ Failed to detect IP. Please check your internet connection.";
});
}
Comments
Post a Comment