Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nirmalyax committed Jun 26, 2023
1 parent 719f290 commit f624404
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">



<script src="https://www.google.com/recaptcha/enterprise.js?render=6LcKrM8mAAAAANV2gI21WBeb6zuQaW7w41o0mrwG"></script>


<script>
function onClick(e) {
e.preventDefault();
grecaptcha.enterprise.ready(async () => {
const token = await grecaptcha.enterprise.execute('6LcKrM8mAAAAANV2gI21WBeb6zuQaW7w41o0mrwG', {action: 'LOGIN'});
// IMPORTANT: The 'token' that results from execute is an encrypted response sent by
// reCAPTCHA Enterprise to the end user's browser.
// This token must be validated by creating an assessment.
// See https://cloud.google.com/recaptcha-enterprise/docs/create-assessment
});
}
</script>

<!-- =====BOX ICONS===== -->
<link href="https://cdn.jsdelivr.net/npm/boxicons@2.0.5/css/boxicons.min.css" rel="stylesheet" />
<!--===== SCROLL REVEAL =====-->
Expand Down Expand Up @@ -443,6 +461,21 @@ <h2 class="section-title">Get in Touch</h2>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>


<script>
function onClick(e) {
e.preventDefault();
grecaptcha.enterprise.ready(async () => {
const token = await grecaptcha.enterprise.execute('6LcKrM8mAAAAANV2gI21WBeb6zuQaW7w41o0mrwG', {action: 'LOGIN'});
// IMPORTANT: The 'token' that results from execute is an encrypted response sent by
// reCAPTCHA Enterprise to the end user's browser.
// This token must be validated by creating an assessment.
// See https://cloud.google.com/recaptcha-enterprise/docs/create-assessment
});
}
</script>

</body>

</html>

0 comments on commit f624404

Please sign in to comment.