Open Nuranto opened 5 years ago
The badge is shown by the grecaptcha.execute()
JS call, correct?
Executing it later would be a rather website specific implementation. I don't know if it is possible to find a general implementation for this package. PRs are welcome though.
I saw some solutions like : https://stackoverflow.com/questions/53109566/how-do-i-hide-google-recaptcha-v3-from-my-site https://groups.google.com/forum/#!topic/recaptcha/gcIxsA2T3yA
Actually an inline display of it could be nice too... Of course, we should determine if we can legally hide it or not, even if the user is not using forms... Well... When I got some time, I'll try to dig into this....
First of all, thanks for sharing this !
A good enhancement would be to hide the badge, and optionnally, show it when the users starts filling a protected form.