Skip to content

richrdkng/recaptcha-test-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recaptcha-test

A website to test basic reCAPTCHA functionality with callbacks.

Usage

To handle possible reCAPTCHA events, override one or more of the following:

// fired, when the reCAPTCHA is loaded
function onCaptchaLoad() {
    console.log('onCaptchaLoad')
}

// fired, when the user submits a successful reCAPTCHA response
function onCaptchaSuccess(token) {
    console.log('onCaptchaSuccess', token)
}

// fired, when the reCAPTCHA response expires and the user needs to re-verify
function onCaptchaExpired() {
    console.log('onCaptchaExpired')
}

// fired, when the reCAPTCHA encounters an error
function onCaptchaError() {
    console.log('onCaptchaError')
}

Contribution

Any contribution is appreciated. Thank you, have fun!

License

MIT @ Richard Szakacs

Releases

No releases published

Packages

No packages published

Languages