Skip to content

Instantly share code, notes, and snippets.

@joshski
Created January 11, 2017 17:16
Show Gist options
  • Save joshski/a26df17bb68eac066a4ee3998c787971 to your computer and use it in GitHub Desktop.
Save joshski/a26df17bb68eac066a4ee3998c787971 to your computer and use it in GitHub Desktop.
window.grecaptcha = {
getResponse: function() {
return 'FAKE-RECAPTCHA-RESPONSE'
},
reset: function() {
console.log("FAKE-RECAPTCHA-RESET", arguments)
},
render: function() {
console.log("FAKE-RECAPTCHA-RENDER", arguments)
return 'FAKE-RECAPTCHA-WIDGET-ID'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment