谷歌reCaptcha永远加载 [英] Google reCaptcha keeps loading forever

查看:437
本文介绍了谷歌reCaptcha永远加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网站上使用Google的reCaptcha 2.0。它曾经运作良好,但自从我向公众开放我的网站并获得更多用户后,recaptcha不再适用于大多数用户..它加载正常,但一旦用户点击我不是机器人复选框,它一直在加载,永远不会返回确认。

I'm using Google's reCaptcha 2.0 on my website. It used to work well, but since I opened my website to the public and got some more users, recaptcha is not working anymore with most users.. it loads fine, but once the user clicks the "I'm not a robot" checkbox, it keeps loading eternally and never returns a confirmation.

我试图在网上查找它,但找不到有类似问题的人,我我不知道怎么(或者如果我可以)调试它,因为显然它没有从谷歌返回响应。我所有的钥匙都是正确的。

I tried to look all over the web for it, but couldn't find someone with a similar issue, and I have no idea how to (or if I can) debug it, since apparently it's not returning a response from google. All my keys are correct.

有人可以帮帮我吗?我的网站是 www.heropanel.com - 要模拟它,点击页面底部的联系人,然后点击我不是机器人复选框。

Can someone help me out? My website is www.heropanel.com - to simulate it, click on contact at the bottom of the page, and click the "I'm not a robot" checkbox.

推荐答案

实际上我找到了答案。验证码在一个模态弹出div中加载。加载此弹出窗口时,它将更改div的父级,并以某种方式打破了验证码(可能是一些嵌入式安全代码)。我的解决方案是在窗口弹出后重新加载验证码。

Actually I found the answer. The captcha was loading inside a modal popup div. When this popup loaded, it would change the div's parent and that somehow broke the captcha (probably some embedded security code). My solution was to reload the captcha after the window popup.

这篇关于谷歌reCaptcha永远加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆