<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>I Am Not a Robot Verification</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
text-align: center;
background-color: #fff;
border: 1px solid #ccc;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.countdown {
font-size: 24px;
margin-top: 20px;
}
h1 {
margin-bottom: 10px;
}
p {
color: #777;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="container">
<h1>I Am Not a Robot Verification</h1>
<p>Please wait for the verification to complete...</p>
<div class="countdown" id="countdownTimer">Countdown: <span id="timerValue">10</span> seconds</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
// Your "I am not a robot" verification script
// Replace this block with your actual script implementation, e.g., reCAPTCHA, custom captcha, etc.
// Simulating verification completion after 2 seconds (replace this with your actual verification logic)
setTimeout(function () {
// After successful verification, redirect to the countdown timer page
const downloadId = new URLSearchParams(window.location.search).get('download_id');
window.location.href = `/random-page-timer?download_id=${downloadId}`;
}, 2000);
});
// Countdown Timer Logic
let countdownValue = 10; // Set the countdown value in seconds
const timerElement = document.getElementById('timerValue');
const countdownInterval = setInterval(function () {
countdownValue -= 1;
timerElement.textContent = countdownValue;
if (countdownValue <= 0) {
clearInterval(countdownInterval);
timerElement.textContent = '0';
// Redirect to the countdown timer page after the countdown completes
const downloadId = new URLSearchParams(window.location.search).get('download_id');
window.location.href = `/random-page-timer?download_id=${downloadId}`;
}
}, 1000);
</script>
</body>
</html>