<!DOCTYPE html>
<html>
<head>
    <title>Website Traffic Simulator</title>
</head>
<body style="font-family: sans-serif; text-align: center; background-color: #f4f4f4;">
    <h2>Bot Traffic Simulator (Testing Only)</h2>
    <p>Mengarahkan ke: <strong><span id="urlDisplay"></span></strong></p>
    <p>Halaman akan dimuat ulang dalam: <span id="timer" style="color: red; font-weight: bold;">10</span> detik</p>

    <!-- Halaman target akan muncul di dalam box di bawah ini -->
    <iframe id="targetFrame" src="" width="90%" height="600px" style="border: 1px solid #ccc; background: white;"></iframe>

    <script>
        // --- UBAH LINK DI BAWAH INI ---
        const targetURL = "https://shorturl.at/ZsUxx"; // Ganti dengan link Anda
        const refreshTime = 10; // Waktu tunggu per refresh (dalam detik)
        // ------------------------------

        let timeLeft = refreshTime;
        document.getElementById('urlDisplay').innerText = targetURL;
        document.getElementById('targetFrame').src = targetURL;

        setInterval(() => {
            timeLeft--;
            document.getElementById('timer').innerText = timeLeft;
           
            if (timeLeft <= 0) {
                // Menambahkan parameter unik (?t=...) agar browser menganggap ini kunjungan baru (cache busting)
                document.getElementById('targetFrame').src = targetURL + "?t=" + new Date().getTime();
                timeLeft = refreshTime;
            }
        }, 1000);
    </script>
</body>
</html>

Komentar

Postingan populer dari blog ini