-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load reCAPTCHA on focus only #556
Comments
Hi @fredericalpers, I would like to confirm some points:
=> When the user clicks (focus) on any input of the form, we will start loading the javascript file of reCAPTCHA right? |
Yes, I got it. I will try implementing it and test "if the Google score will be affected and more normal visitors will be recognized as spam" and let you know as soon as possible. Thanks! |
Hi @fredericalpers, I have completed implementing and testing the cases we discussed above. Please watch the attached video and let me know your opinion. Concerning the question about the potential impact of Google score and spam recognition, I also researched and had the following comments:
And on pages that need to load recaptcha, Google score will not be affected or increase a bit because we are loading asynchronously (limiting the possibility of HTML being blocked while waiting to load the js reCAPTCHA file).
|
@dai-eastgate Looks good to me. Can't wait to test and release this! thank you :) EDIT:
Thats good to know! thank you for your feedback :) |
Current state
When activated, reCAPTCHA significantly reduces the pagespeed.
Desired state
To achieve a better pagespeed when reCAPTCHA is not needed or in use the scripts should only be loaded when the user focuses on an input field.
The text was updated successfully, but these errors were encountered: