laravel-recaptchav3 icon indicating copy to clipboard operation
laravel-recaptchav3 copied to clipboard

Enhancement : Hide badge

Open Nuranto opened this issue 6 years ago • 3 comments

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.

Nuranto avatar Nov 06 '18 16:11 Nuranto

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.

josiasmontag avatar Nov 06 '18 19:11 josiasmontag

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....

Nuranto avatar Nov 07 '18 18:11 Nuranto

https://stackoverflow.com/questions/50583284/how-do-you-set-the-badge-position-with-recaptcha-v3#answer-52557946

Nuranto avatar Nov 30 '18 09:11 Nuranto