Created
February 5, 2025 16:17
-
-
Save PhilETaylor/ac4b9d1ba62668b808b028c2d246dfeb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Security Verification</title> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> | |
<style> | |
#stackprotectform { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.g-recaptcha { | |
display: flex; | |
justify-content: center; | |
} | |
</style> | |
<script src="https://www.google.com/recaptcha/api.js?render=6LdZXJwUAAAAAE1ERIs8cDyw2wNhHNuMxBJWG0Aa"></script> | |
<script> | |
function stackProtect() { | |
var action = 'invisible'; | |
if (action === 'invisible') { | |
grecaptcha.ready(function() { | |
grecaptcha.execute('6LdZXJwUAAAAAE1ERIs8cDyw2wNhHNuMxBJWG0Aa').then(function(token) { | |
document.getElementById('token').value = token; | |
document.getElementById('stackprotectform').submit(); | |
}); | |
}); | |
} else { | |
document.getElementById('stackprotectform').submit(); | |
} | |
} | |
setInterval(stackProtect, 5000); | |
</script> | |
</head> | |
<body> | |
<div class="container py-5"> | |
<div class="row justify-content-center"> | |
<div class="col-md-8"> | |
<p class="text-center">To help us keep this website secure, please wait while we verify you're not a robot! It will only take a few seconds...</p> | |
<form action="" method="post" id="stackprotectform"> | |
<div class="d-flex justify-content-center"> | |
<div class="spinner-border" role="status"> | |
<span class="visually-hidden">Loading...</span> | |
</div> | |
</div> | |
<input type="hidden" id="token" name="g-recaptcha-response" value=""> | |
</form> | |
</div> | |
</div> | |
</div> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment