Skip to main content
Are you experiencing issues obtaining the token?
Contact support

Receiving events from the extension

Receiving events from the extension helps your code to be aware of events that are happening (such as successfully solving a captcha with a token or clicks) and react accordingly.

When solving various types of captchas, the extension sends events to the currently active page in the global window object.

If necessary, it is possible to subscribe to these events via window.addEventListener

info

No parameters are passed to events

Example

window.addEventListener("onCMExtensionReady", () => {
// DO SOMETHING
})

Available events

Global

EventDescription
onCMExtensionReadyThe extension is fully loaded and ready to work

ReCaptcha

EventDescription
onReCaptchaClickStartImage click event when solving ReCaptcha by clicks
onReCaptchaClickSubmit or next button click event when solving ReCaptcha by clicks
onReCaptchaClickIncorrectIncorrect ReCaptcha solving by clicks
onReCaptchaClickBackendErrorError when solving ReCaptcha by clicks
onReCaptchaClickSuccessSuccessful solving ReCaptcha by clicks
onRecaptchaTokenStartStart solving ReCaptcha by token
onRecaptchaTokenSuccessSuccessful ReCaptcha solving by token
onRecaptchaTokenErrorError when solving ReCaptcha by token

GeeTest

EventDescription
onGeeTestTokenStartStart of the GeeTest solving by token
onGeeTestTokenSuccessSuccessful solution of GeeTest by token
onGeeTestTokenErrorError when solving GeeTest by token

Turnstile

EventDescription
onTurnstileTokenStartStart of the Turnstile solving by token
onTurnstileTokenSuccessSuccessful solution of Turnstile by token
onTurnstileTokenErrorError when solving Turnstile by token

Image captcha

EventDescription
onImageTokenStartStart of the Image captcha solving by token
onImageTokenSuccessSuccessful solving Image captcha by token
onImageTokenErrorError when solving Image captcha by token