Questions tagged [recaptcha]

For questions about the reCAPTCHA service: Designed to protect against spam and abuse by blocking bots while allowing valid users access.

recaptcha
Filter by
Sorted by
Tagged with
427 votes
26 answers
522k views

Using reCAPTCHA on localhost

I'm developing a website using PHP and I want to make a human verification in one of the sessions. For the development, I'm initially running the system locally and when it is ready, I'm going to put ...
rlc's user avatar
  • 5,939
318 votes
5 answers
150k views

How does Google reCAPTCHA v2 work behind the scenes?

This post refers to Google ReCaptcha v2 (not the latest version) Recently Google introduced a simplified "captcha" verification system (video) that enables users to pass the "captcha" just by ...
everlasto's user avatar
  • 4,900
266 votes
15 answers
310k views

How to hide the Google Invisible reCAPTCHA badge

When implementing the new Google Invisible reCATPTCHA, by default you get a little "protected by reCAPTCHA" badge in the bottom right of the screen that pops out when you roll over it. I'd like to ...
James Law's user avatar
  • 6,385
211 votes
9 answers
226k views

How to Reload ReCaptcha using JavaScript?

I have a signup form with AJAX so that I want to refresh Recaptcha image anytime an error is occured (i.e. username already in use). I am looking for a code compatible with ReCaptcha to reload it ...
ahmet alp balkan's user avatar
175 votes
14 answers
75k views

Has reCaptcha been cracked / hacked / OCR'd / defeated / broken? [closed]

Have any programming methods have been used to defeat reCAPTCHA? I'm interested in seeing evidence and potentially demonstrations that reCAPTCHA in particular has been made obsolete by completely ...
Dave Rutledge's user avatar
161 votes
17 answers
423k views

How can I validate google reCAPTCHA v2 using javascript/jQuery?

I have a simple contact form in aspx. I want to validate the reCaptcha (client-side) before submitting the form. Please help. Sample code: <%@ Page Language="VB" AutoEventWireup="false" ...
Mahatma Aladdin's user avatar
154 votes
5 answers
83k views

How does this checkbox recaptcha work and how can I use it?

I've recently signed up to the oneplusone website https://account.oneplus.net/sign-up, and noticed this checkbox recaptcha How does it work, and how can I use it on my sites? Much better than those ...
Pedro Costa's user avatar
  • 2,966
123 votes
23 answers
174k views

ReCaptcha API v2 Styling

I have not had much success finding how to style Google's new recaptcha (v2). The eventual goal is to make it responsive, but I am having difficulty applying styling for even simple things like width. ...
jhawes's user avatar
  • 2,364
119 votes
17 answers
164k views

How do I show multiple recaptchas on a single page?

I have 2 forms on a single page. One of the forms has a Recaptcha displaying all the time. The other should display a Recaptcha only after a certain event such as maxing out login attempts. So ...
oym's user avatar
  • 7,063
101 votes
17 answers
414k views

reCAPTCHA ERROR: Invalid domain for site key

I have implemented my reCAPTCHA in line with as is shown in the example. I have this script in the head tag: <script src="https://www.google.com/recaptcha/api.js"></script> In my form ...
BlessedHIT's user avatar
  • 1,921
101 votes
8 answers
276k views

Google Recaptcha v3 example demo

Until now, I was working with Google Recaptcha v2, but now I want to update my WebApp using the lastest version (v3). Is it possible to anyone add a fully working Google Recaptcha v3 example for a ...
Ommadawn's user avatar
  • 2,630
98 votes
7 answers
113k views

How to check in js that user has checked the checkbox in Google recaptcha?

I have added the following before end of head <script src='https://www.google.com/recaptcha/api.js'></script> I have added this before end of form <div class="g-recaptcha" data-...
Hello Universe's user avatar
98 votes
14 answers
170k views

Change New Google Recaptcha (v2) Width

We've just started to implement the new google recaptcha as listed https://www.google.com/recaptcha/intro/index.html However the new method seems to be contained within an iFrame rather than embedded ...
owenmelbz's user avatar
  • 6,308
82 votes
2 answers
82k views

ReCaptcha 2.0: enable Submit button on callback if recaptcha successful

I have a very simple form as follows. I want to make it so that the Submit button is disabled, and only enabled after the user has successfully completed the ReCaptcha. I'm assuming I'm going to need ...
thanks_in_advance's user avatar
81 votes
11 answers
119k views

Validating Recaptcha 2 (No CAPTCHA reCAPTCHA) in ASP.NET's server side

The new Recaptcha 2 looks promising, but i didn't find a way to validate it in ASP.NET's server side, if(Page.IsValid) in This answer, is valid for the old Recaptcha, but not the new one, How to ...
Alaa Alweish's user avatar
  • 8,964
81 votes
3 answers
46k views

reCAPTCHA - error-codes: 'missing-input-response', 'missing-input-secret' when verifying user's response (missing details on POST)

I am setting an invisible reCAPTCHA in my web application and having trouble verifying the user's response. (even though I am passing the correct POST parameters) I am programmatically invoking the ...
u-ways's user avatar
  • 6,946
80 votes
11 answers
86k views

Google reCaptcha response "Uncaught (in promise) null"

I'm use reCaptcha v2 but in dev console response Uncaught (in promise) null in in any case (and moving the .reset() function) console: my code for recaptcha: <div class="text-xs-center" style="...
FABBRj's user avatar
  • 960
78 votes
10 answers
47k views

Is it possible to force fail a recaptcha v2 for testing purposes? (I.e. pretend to be a robot)

I'm implementing an invisible reCAPTCHA as per the instructions in the documentation: reCAPTCHA V2 documentation I've managed to implement it without any problems. But, what I'd like to know is ...
strttn's user avatar
  • 2,395
77 votes
12 answers
157k views

How to validate Google reCAPTCHA v3 on server side?

I've just set up the new google recaptcha with checkbox, it's working fine on front end, however I don't know how to handle it on server side using PHP. I've tried to use the old code below but the ...
Moatez's user avatar
  • 771
70 votes
11 answers
139k views

Test invisible recaptcha

We have integrated invisible recaptcha in one of our websites. Whenever we submit the form it automatically submits. I read in some google groups that we would get a challenge when accessed on edge ...
Prajwal's user avatar
  • 701
68 votes
6 answers
80k views

Recommendations for java captcha libraries [closed]

I'm looking for a replacement for JCaptcha, which doesn't seem to be maintained any more, and isn't very good to begin with. The replacement has to integrate nicely with JavaEE webapps. As I can see ...
66 votes
16 answers
26k views

Are reCAPTCHA CAPTCHAs getting harder or is just me [closed]

As I have been testing sites, I have found reCAPTCHAs getting more and more difficult to read. Is it just me or are others having this problem too? Along with this, I had a user this morning complain ...
Darryl Hein's user avatar
64 votes
12 answers
171k views

How to Validate Google reCaptcha on Form Submit

Recently, Google completely overhauled their reCaptcha API and simplified it to a single checkbox. The problem is, I can submit a form with the reCaptcha included without checking it and the form ...
Drew Kennedy's user avatar
  • 4,148
60 votes
14 answers
70k views

Centering No Captcha reCaptcha

After a few hours of research and trial and error, I was finally able to add the new Google No Capatcha re Capatcha to my form and get it working, but for some reason, it won't center. Any ideas? <...
Jacko's user avatar
  • 723
60 votes
8 answers
95k views

How can I make reCAPTCHA a required field?

I'm using Google reCAPTCHA and have been able to add the CAPTCHA component to my page inside a form. But when I submit the form there's no validation taking place to check if the CAPTCHA has been ...
Baikare Sandip's user avatar
60 votes
6 answers
236k views

How can I bypass the Google CAPTCHA with Selenium and Python?

How can I bypass the Google CAPTCHA using Selenium and Python? When I try to scrape something, Google give me a CAPTCHA. Can I bypass the Google CAPTCHA with Selenium Python? As an example, it's ...
user avatar
56 votes
1 answer
63k views

ReCaptcha 2.0 With AJAX

I have managed to get ReCaptcha 2.0 working in my website. However, it's only working when I don't use AJAX and I let the form submit "naturally". I want to submit the form with the captcha and ...
Gofilord's user avatar
  • 6,409
55 votes
15 answers
187k views

reCAPTCHA:"ERROR for site owner: Invalid site key"

I tried to set up reCAPTCHA, on my page by following the instructions here. I signed up for an API key pair and was issued a public key and a private key. It was not clear, to me, how the private ...
OtagoHarbour's user avatar
  • 3,991
55 votes
10 answers
70k views

Error: ReCAPTCHA placeholder element must be empty

I am using recaptcha with my laravel application. I just want to check recaptcha's response on form submit using jquery and stop user by alert that pleade validate captcha. but , I could not stop ...
Nirali Joshi's user avatar
  • 1,998
55 votes
4 answers
76k views

New reCaptcha with jQuery Validation Plugin

I searched and can't figure out how to validate the new reCaptcha, before form submit, along with the validate function of jQuery validation Plugin. My intent: $.validator.addMethod('...
bluantinoo's user avatar
  • 1,829
52 votes
5 answers
45k views

Setting reCAPTCHA Version 2 set another language other than English

How can I set this in another language, ie:. French I've tried: var RecaptchaOptions = { lang : 'fr', }; Found above here Which does nothing. I couldn't find relevant info under API ...
neo's user avatar
  • 4,108
47 votes
2 answers
95k views

How does reCAPTCHA 3 know I'm using Selenium/chromedriver?

I'm curious how reCAPTCHA v3 works. Specifically the browser fingerprinting. When I launch an instance of Chrome through Selenium/chromedriver and test against reCAPTCHA 3 (https://recaptcha-demo....
Mr J's user avatar
  • 2,835
47 votes
1 answer
5k views

Recaptcha V3 error incorrect-captcha-sol randomly

I'm getting incorrect-captcha-sol error code sometime while using Google reCAPTCHA server side verification api. I have integrated google recaptcha validation to some of my apis. To do so, I pass ...
Rahul Bansal's user avatar
46 votes
4 answers
208k views

Google reCAPTCHA: How to get user response and validate in the server side?

I am doing a Java (JSP + Servlet) web application (I understand that this question is technology-independent). I hope to use the latest Google reCAPTCHA service. I am playing with a Google reCAPTCHA ...
curious1's user avatar
  • 14.4k
46 votes
7 answers
41k views

Force Google Recaptcha Challenge

Is it possible to set some flag in my browser so that I always get the RECAPTHCA image challenges? Sometimes when you click on the "I am not a robot" button, it gives you a pop up challenge with ...
Jake's user avatar
  • 3,229
44 votes
2 answers
44k views

ReCaptcha v2 client side events

Does ReCaptcha v2 expose any client side events? I am looking specifically to identify when the Captcha response has been returned once the box is ticked, so I can reveal the "Continue" button below. ...
QFDev's user avatar
  • 8,838
43 votes
6 answers
97k views

How to Verify Google Recaptcha V3 Response?

How to integrate Google reCAPTCHA Version 3 in Client Side and Server Side(php). following code use to display recaptcha but its not working good. How to do this integration. <html> <...
Karthik's user avatar
  • 5,699
42 votes
7 answers
42k views

How do you set the badge position with reCAPTCHA v3?

I would like to use an inline badge with v3, but there is no documentation on badge position for v3.
Still don't know everything's user avatar
42 votes
9 answers
118k views

Uncaught ReferenceError: grecaptcha is not defined

I am using recaptcha v2 I am getting the following error occasionally (sometimes i don't get error and sometimes i do get it) Uncaught ReferenceError: grecaptcha is not defined It seems because of ...
codeofnode's user avatar
  • 18.4k
41 votes
10 answers
80k views

ReCAPTCHA couldn't find user-provided function: myCallBack

I'm trying to use ReCAPTCHA where I am getting following error. ReCAPTCHA couldn't find user-provided function: myCallBack. How can I solve this issue? var verifyCallback3 = function(response) { ...
Sheetal Sharma's user avatar
41 votes
4 answers
17k views

ReCaptcha not working properly on iPhone

I have a website with a simple contact form. The validation is somewhat minimal because it doesn't go into a database; just an email. The form works as such: There are 5 fields - 4 of which are ...
dgo's user avatar
  • 3,907
37 votes
8 answers
29k views

How can I process HTML form validation before reCAPTCHA's validation?

I integrated the new hidden reCAPTCHA (v2) framework which by default verifies the user with the click event of the submit button. But this event is triggered before the built-in HTML form validation. ...
Julio Guerra's user avatar
  • 5,603
36 votes
5 answers
83k views

Implement the new Invisible reCaptcha from Google

I'm building a PHP website where I would like to put a captcha on the login form. I went with Google's new Invisible reCaptcha but I'm having trouble with implementing it (HTML part, the PHP is ...
L.Johnson's user avatar
  • 465
36 votes
3 answers
10k views

Recaptcha creates iFrame on page, breaks styling

Recaptcha is adding a "This frame prevents back/forward cache problems in Safari" iFrame to the top of my website (code included below), which is pushing off the styling by 20-30px (approximately). ...
Walker's user avatar
  • 132k
35 votes
11 answers
83k views

How to reload the google recaptcha widget after user submits invalid inputs

I have a registration form with the new google recaptcha widget on it. When a user submits info, we check the validation with javascript and return the problems to the page (ex: "please use a valid ...
Matthew Berman's user avatar
35 votes
2 answers
26k views

Using recaptcha with Firebase

Surprisingly-even more when both are Google products-there is no information that I can find on how to integrate Recaptcha with Firebase. Is it even possible? If not, what can I use to validate humans ...
Sergi Mansilla's user avatar
35 votes
1 answer
21k views

Recaptcha - Availability in China [closed]

We are developing a site that will require the usage of a captcha service. Has anyone successfully use Google Recaptcha for a website for users from Mainland China? Did you have major problems with ...
wacdany's user avatar
  • 991
34 votes
3 answers
16k views

How to run reCaptcha ONLY if HTML5 validation has passed?

Usually, HTML5 form validation runs before the submit event. With this <form id="myForm"> <input type="text" name="foo" required /> <button type="submit"> Submit </...
Andrea Ligios's user avatar
32 votes
8 answers
70k views

How to use .env variables in Nuxt 2 or 3?

I have .env file in the project root, and in my nuxt config I am using variables to configure ReCaptcha like this: import dotenv from 'dotenv' dotenv.config() export default { modules: [ [...
Denis Stephanov's user avatar
31 votes
14 answers
70k views

No CAPTCHA reCAPTCHA Resizing

Hi I just added Google's No CAPTCHA reCAPTCHA to my website, and I am running into a small little issue. It does NOT fit on my mobile website, and that is a HUGE issue. I have tried everything such as:...
michael jones's user avatar

1
2 3 4 5
89