recaptcha

using reCAPTCHA with ajax…javascript loading problem

白昼怎懂夜的黑 提交于 2019-12-03 11:32:31
I trying to implement reCAPTCHA in one of my forms,...but i am using ajax as the submission. (More specifically the prototype ajax.updater) Once I submit and error check my form I try to load the reCAPCHTA widget thingy (in my updated div element) which basically just calls a javascript file like so: <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6Le6SwUAAAAAAIWm8wCRFd8SrI-H0R1Yx4Tkw2Ks"></script> However the JS file is not being read?...and i've tried all combination of evalScripts:true and evalJS:'force' etc. in the ajax.updater.....however i don't think I have a

New Google reCaptcha: How to change text “I'm not a robot”

别来无恙 提交于 2019-12-03 11:17:33
问题 I've installed the latest Google reCaptcha tool on our yoga website. Now the users are confused about the text "I'm not a robot" that appears next to the checkbox. Most of our users do not know what the word "robot" means in this context and they think the form is broken. They also feel less safe using our form as it is weird to see the word "robot" on a yoga website. How do I change the text "I'm not a robot" to something else that the users understand? The docs appear silent on this point..

Prevent reCaptcha multiple image selections

非 Y 不嫁゛ 提交于 2019-12-03 10:40:37
I'm using Google reCaptcha for validation purposes on a client website. Today I've got a complaint/change-request from them, regarding the multiple image selection (Select 2 beers, wines, cakes etc.) validation of reCaptcha. My client thinks it's inappropriate to having their customers choose from alcoholic beverages because of socio-cultural standing of their customer base. Long story short; is there a way to customize Google reCaptcha to only show number/letter based validation when "I'm not a robot" option fails. I think I found a solution. The official documentation contains information

ReCaptcha v2 client side events

自闭症网瘾萝莉.ら 提交于 2019-12-03 10:32:09
问题 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. Without this it is possible for the user to click the checkbox then quickly click the submit button before the captcha response is back. I could possible add my own click event handler to the class recaptcha-checkbox-checkmark and poll the visiblity of the tick, I just wondered if there was a

Using recaptcha with Firebase

人盡茶涼 提交于 2019-12-03 10:03:05
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 on a Firebase app that has no auth? This is a pretty old post, but here's the answer for fellow Google searchers like me. It's now built-in, and super easy to set up: window.recaptchaVerifier = new firebase.auth.RecaptchaVerifier('recaptcha', { 'callback': (response) => { // reCAPTCHA solved, allow signInWithPhoneNumber. // ... }, 'expired-callback': () => { // Response expired. Ask user to solve

Recaptcha v2 throws an error when it is reset and its container element is removed from DOM

橙三吉。 提交于 2019-12-03 09:06:49
问题 When I explicitly render Recaptcha v2 and then reset it before removing it from the DOM, after ~40 seconds I get an error in the browser console. I have a JSFiddle which can be used to reproduce the issue. Here's the relevant code excerpt: const recaptchaHolder = document.getElementById('...'); const recaptchaWidgetId = grecaptcha.render(recaptchaHolder, {/*...*/}); // then later grecaptcha.reset(recaptchaWidgetId); recaptchaHolder.parentElement.removeChild(recaptchaHolder); The error that I

reCAPTCHA stopped working - Invalid Encryption

為{幸葍}努か 提交于 2019-12-03 08:54:12
问题 I have been using reCAPTCHA on my site for a while now and suddenly I realized it has stopped to work. The reCAPTCHA is there, however after verifying correctly, the response FAILS which makes the submit of the form fail. On the client side console, the browser gives an error: Uncaught (in promise) Invalid Encryption. I have tried to search for this error but can not find anything similar. After submitting the form, the server side verification in PHP fails. I am not sure if the error above

How to validate Google reCAPTCHA v2 in django

泄露秘密 提交于 2019-12-03 07:25:29
I have been trying to use the Google reCAPTCHA on a website that I've been making. The captcha loads on the webpage but I've been unable to validate it using several methods. I've tried the recaptcha validation using the method given at How to use Python plugin reCaptcha client for validation? but I think it's outdated as it no longer works and it is referring to challenges whereas the one I'm trying to use is the new 'checkbox' reCAPTCHA v2 by Google or maybe I need to make changes in my settings after installing recaptcha-client or django-recaptcha. Please help! There is a third-party Django

Recaptcha - Availability in China [closed]

我只是一个虾纸丫 提交于 2019-12-03 06:20:50
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . 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 load-time? Did you experience any reliability problems? Any problems with the

Google reCAPTCHA data-callback not working

廉价感情. 提交于 2019-12-03 05:50:25
I have built a email newsletter signup form which posts into mailchimp from my website. I have Google reCAPTCHA added to the form and have a data-callback to enable the submit button as it is initially disabled. This was working fine in all browsers last night and did tests with success & signed off on it..and went home. I got in this morning and found the subscribe button will not enable / data-callback does not work? Strange.. Callback <div class="g-recaptcha" data-callback="recaptcha_callback" data-sitekey="xxxxx"></div> Input button at bottom of form <input type="submit" value="Subscribe"