Re:hCaptcha now runs on fifteen percent of the internet
by mNovak on Wednesday November 25, 2020 @05:28PM
(#25214992)
Curious why it wouldn't start 'verifying' immediately on load? The fact that it runs in the background is really key--I'd hate to fill out an entire form, click the button at the end, and still have to wait around to submit.
[ Parent
| on HN ]
Re:hCaptcha now runs on fifteen percent of the internet
by protoduction on Wednesday November 25, 2020 @05:38PM
(#25215075)
You can change this behavior of the widget (data-start="auto" instead of default data-start="focus"), or you can start it programmatically.
The reason you wouldn't always want to start it in the background is if the user may not intend to submit the form (perhaps it's a form that is in your footer of every page and only a small percentage of users intend on sending it). Starting it on focus of the form is a good default.