3 ms·
I was implementing this yesterday and discovered there is absolutely no way to customise the style / layout of the captcha. You either use the light theme or th
by TimJRobinson 12y ago
I was implementing this yesterday and discovered there is absolutely no way to customise the style / layout of the captcha. You either use the light theme or the dark theme and that's it, and it's inside an iframe so you can't manually hack the css.
The old version used to be customisable so I really hope Google adds the ability to customise this soon.
Another trivial but important oversight: the captcha has a background color of f9f9f9 but the fallback captcha has a background color of ffffff. So even if you try and style around it unless you manually detect what kind of captcha is showing and change the background color on the fly one of them is going to look off.
- homakov 12y agoThere's very simple API and all you need is to insert something like img src=recaptcha?challenge=C. Isn't it?
- TimJRobinson 12y agoYou only insert a div and the script places an iframe inside it. I don't think there is any way to only load the image.
- homakov 12y agothere's a way of course - what can be done with JS can also be done on server side. But it's not a legit way to use, yes.