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 Utilities. Show all posts
Thursday, November 16, 2017

Free Download CCleaner 5.24.5839 Update Terbaru 2017

Free Download CCleaner 5.24.5839 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Mungkin ini adalah salah satu aplika...
Thursday, October 19, 2017

Free Download CCleaner 5.23.5808 Update Terbaru 2017

Free Download CCleaner 5.23.5808 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Mungkin ini adalah aplikasi paling p...
Wednesday, September 13, 2017

Free Download CCleaner 5.22.5724 Update Terbaru 2017

Free Download CCleaner 5.22.5724 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Mungkin ia adalaha alat paling popul...
Wednesday, May 24, 2017

Free Download CCleaner 5.18.5607 Update Terbaru 2017

Free Download CCleaner 5.18.5607 Update Terbaru 2017 - New Software Gratis Final Full Version Update Terbaik. Mungkin ini adalah aplikasi p...
Wednesday, April 26, 2017

Free download CCleaner 5.17.5590 Update Terbaru 2017

Free Download CCleaner 5.17.5590 Update Terbaru 2017 - New Software Gratis Final Full Version Terbaik. Mungkin ini adalah aplikasi yang pal...