free html ip lookup tool
by rtwodtwoi - Tuesday August 20, 2024 at 04:43 AM
#1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cool IP Lookup Tool</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: black;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .container {
            text-align: center;
            background-color: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }
        h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        input {
            padding: 0.5rem;
            font-size: 1rem;
            width: 200px;
            margin-right: 0.5rem;
        }
        button {
            padding: 0.5rem 1rem;
            font-size: 1rem;
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        button:hover {
            background-color: #45a049;
        }
        #result {
            margin-top: 2rem;
            font-size: 1.2rem;
            text-align: left;
        }
        .info-item {
            margin: 0.5rem 0;
            padding: 0.5rem;
            border-radius: 5px;
            background-color: rgba(255, 255, 255, 0.05);
        }
        .info-item span {
            font-weight: bold;
            margin-right: 0.5rem;
        }
        @keyframes rainbow {
            0% { color: red; }
            14% { color: orange; }
            28% { color: yellow; }
            42% { color: green; }
            57% { color: blue; }
            71% { color: indigo; }
            85% { color: violet; }
            100% { color: red; }
        }
        .rainbow-text {
            animation: rainbow 5s linear infinite;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Cool IP Lookup Tool</h1>
        <input type="text" id="ipInput" placeholder="Enter IP address">
        <button onclick="lookupIP()">Lookup</button>
        <div id="result"></div>
    </div>

    <script>
        function lookupIP() {
            const ip = document.getElementById('ipInput').value;
            const resultDiv = document.getElementById('result');
            resultDiv.innerHTML = '<p class="rainbow-text">Loading...</p>';

            fetch(`https://ipapi.co/${ip}/json/`)
                .then(response => response.json())
                .then(data => {
                    let result = '';
                    const fields = [
                        { key: 'ip', label: 'IP Address' },
                        { key: 'city', label: 'City' },
                        { key: 'region', label: 'Region' },
                        { key: 'country_name', label: 'Country' },
                        { key: 'org', label: 'Organization' },
                        { key: 'latitude', label: 'Latitude' },
                        { key: 'longitude', label: 'Longitude' },
                        { key: 'timezone', label: 'Timezone' }
                    ];

                    fields.forEach(field => {
                        if (data[field.key]) {
                            result += `<div class="info-item rainbow-text"><span>${field.label}:</span>${data[field.key]}</div>`;
                        }
                    });

                    resultDiv.innerHTML = result;
                })
                .catch(error => {
                    resultDiv.innerHTML = '<p class="rainbow-text">Error: Unable to fetch IP information.</p>';
                });
        }
    </script>
</body>
</html>
Reply
#2
it can find IP even behind TOR ?
Reply
#3
its an ip lookup not ip grabber
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] HTTP/S, SOCKS 4 & 5 PROXY Maruf 6 369 50 minutes ago
Last Post: solusOne001
  {FREE} GET ANYTHING FROM THE INTERNET lulagain 180 6,540 59 minutes ago
Last Post: solusOne001
  Free GPT-4 Access treyfas 1,722 65,833 1 hour ago
Last Post: Triggerbm1
  [FREE] ⭐ Z DDOSER ⭐ METHODS: HOME | PROXY | SOCKS | JS-NORMAL | RAW-DOS | UDP FLOOD 134k 143 7,275 2 hours ago
Last Post: Xandy
  [FREE] CRTO I and II - Red Team Ops lessons by Zero-Point Security Tamarisk 1,670 133,243 4 hours ago
Last Post: ASDFQWER1

Forum Jump:


 Users browsing this thread: