Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/352.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Recaptcha 2(又称nocaptcha)没有';t首次加载时在Internet Explorer 8上加载_Python_Internet Explorer 8_Recaptcha - Fatal编程技术网

Python Recaptcha 2(又称nocaptcha)没有';t首次加载时在Internet Explorer 8上加载

Python Recaptcha 2(又称nocaptcha)没有';t首次加载时在Internet Explorer 8上加载,python,internet-explorer-8,recaptcha,Python,Internet Explorer 8,Recaptcha,我使用的是全新的recaptcha2,在所有现代浏览器上,一切似乎都完美无瑕,但我只有IE8有问题 在第二次和下次访问页面时正确加载验证码,但在第一次加载或私人模式下不得加载验证码 更奇怪的是,没有这个问题。我使用的是基于for python的包,所以我相信我的配置是相当标准的 控制台不显示任何错误。div不是由recaptcha代码填充的。谷歌建议使用如下snipet: <html> <head> <title>reCAPTCHA demo: S

我使用的是全新的recaptcha2,在所有现代浏览器上,一切似乎都完美无瑕,但我只有IE8有问题

在第二次和下次访问页面时正确加载验证码,但在第一次加载或私人模式下不得加载验证码

更奇怪的是,没有这个问题。我使用的是基于for python的包,所以我相信我的配置是相当标准的

控制台不显示任何错误。div不是由recaptcha代码填充的。

谷歌建议使用如下snipet:

<html>
  <head>
    <title>reCAPTCHA demo: Simple page</title>
     <script src="https://www.google.com/recaptcha/api.js" async defer></script>
  </head>
  <body>
    <form action="?" method="POST">
      <div class="g-recaptcha" data-sitekey="your_site_key"></div>
      <br/>
      <input type="submit" value="Submit">
    </form>
  </body>
</html>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>

问题消失:)

非常有用,我遇到了相同的问题:)
<script src="https://www.google.com/recaptcha/api.js"></script>