Hacker News new | past | comments | ask | show | jobs | submit login

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.




There's very simple API and all you need is to insert something like img src=recaptcha?challenge=C. Isn't it?


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


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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: