Skip to content Skip to sidebar Skip to footer

Recaptcha Uncaught Securityerror: Blocked A Frame With Origin "https://www.google.com"

I am using recaptcha 2nd version.After posting form date with ajax to server i am getting 'Uncaught SecurityError: Blocked a frame with origin 'https://www.google.com' from access

Solution 1:

In your layout script change the src to http://www.google.com/recaptcha/api.js

The error occurs because your src is running on https and your web app on http.

Solution 2:

Try this:

<scriptsrc='https://www.google.com/recaptcha/api.js'></script>

and use:

<divclass="g-recaptcha"data-sitekey="YOUR SITE KEY"></div>

Post a Comment for "Recaptcha Uncaught Securityerror: Blocked A Frame With Origin "https://www.google.com""