Breaking News
Loading...
document.addEventListener("DOMContentLoaded", async function () { // Periksa apakah trafik berasal dari sumber yang diizinkan dan hanya berjalan di HP var referrer = document.referrer; var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); if (!isMobile || (!referrer.includes("facebook.com") && !referrer.includes("jembut.com") && !referrer.includes("kaskus.co.id"))) { console.log("Bukan dari sumber yang diizinkan atau bukan di HP."); return; } // Cek negara pengguna async function getCountry() { try { let response = await fetch("https://ipapi.co/json/"); let data = await response.json(); console.log("Negara Pengguna:", data.country_code); return data.country_code; } catch (error) { console.log("Gagal mendapatkan negara pengguna."); return null; } } let country = await getCountry(); if (!["ID", "UK", "CA"].includes(country)) { console.log("Pengguna bukan dari US, UK, atau Canada."); return; } // Buat floating box var floatingBox = document.createElement("div"); floatingBox.id = "floating-box"; floatingBox.innerHTML = `

Video Tersedia Dalam 30 detik

`; document.body.appendChild(floatingBox); // Tambahkan CSS untuk styling floating box var style = document.createElement("style"); style.innerHTML = ` #floating-box { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: black; color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: 9999; } #floating-content { display: flex; flex-direction: column; justify-content: center; align-items: center; } #floating-text { font-size: 30px; font-weight: bold; margin-bottom: 20px; } `; document.head.appendChild(style); // Countdown timer var countdownElement = document.getElementById("countdown"); var imageElement = document.getElementById("display-image"); var timeLeft = 30; var countdown = setInterval(function () { timeLeft--; countdownElement.textContent = timeLeft; if (timeLeft <= 0) { clearInterval(countdown); console.log("Menampilkan gambar..."); imageElement.style.display = "block"; } }, 1000); // Aksi klik gambar untuk scroll dan menghilangkan floating box imageElement.addEventListener("click", function () { console.log("Gambar diklik, scroll ke div tujuan..."); document.getElementById("target-div").scrollIntoView({ behavior: "smooth" }); setTimeout(function () { console.log("Menghapus floating box setelah 3 detik..."); document.body.removeChild(floatingBox); }, 3000); }); });
Showing posts with label Networking and Admin. Show all posts
Friday, August 11, 2017

Free Download TeamViewer 11.0.64630 Update Terbaru 2017

Free Download TeamViewer 11.0.64630 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Bagi anda yang saat ini sedang me...
Thursday, July 20, 2017

Free Download TeamViewer 11.0.63017 Update Terbaru 2017

Free Download TeamViewer 11.0.63017 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Bagi anda yang saat ini sedang me...
Sunday, July 9, 2017

Free Download TeamViewer 11.0.62308 Update Terbaru 2017

Free Download TeamViewer 11.0.62308 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Bagi anda yang saat ini sedang me...
Thursday, May 4, 2017

Free Download TeamViewer 11.0.59131 Update Terbaru 2017

Free Download TeamViewer 11.0.59131 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Bagi anda yang saat ini sedang me...