I am using an invisible Google tooltip. Is there any way to detect when the call window is closed? In the query window, I mean the window in which you must select some images for verification.
Currently, I am putting on a button that displays a recaptcha call, after clicking the button. No other request window may be requested for the user.
I call the render function programmatically:
grecaptcha.render(htmlElement, { callback: this.verified, expiredCallback: this.resetRecaptcha, sitekey: this.siteKey, theme: "light", size: "invisible" });
I have 2 callback functions connected to the tested resetRecaptcha functions that look like this:
function resetRecaptcha() {
grecaptcha.reset();
}
function verified(recaptchaResponse)
{
}
I would suggest that grecaptcha.render has another callback that is called when the request screen is closed without checking by the user, selecting images.