javascript - Recaptcha 2 how to check if user cancels puzzle -
how detect if user cancelling recaptcha puzzle: it possible click outside dialog box , close dialog. however, there doesn't seem callback action. necessary return user previous action. we initializing recaptcha 2 programmatically this: grecaptcha.render('grecaptchacontainer', { 'sitekey': our_site_key, 'callback': grecaptcha_responds, 'expired-callback': grecaptcha_expires, }); the callback function called, no problem. the expired-callback function never called. figured function called when user cancels/waits long. not case. could not find in docs or on web. takers? wiki