NoRecaptcha 2 and Opera 12
NoRecaptcha 2 and Opera 12
在 Windows 7 下的 opera 12.16
中获得奇怪的错误(Linux 和其他浏览器下的 opera 12.16 可以正常工作)。当我单击"我不是机器人"时,浏览器向我显示警报"无法联系reCAPTCHA。请检查您的连接,然后重试。 并在控制台中:
Uncaught exception: TypeError: Cannot convert 'a.window || oe(a.zg)' to object
Error thrown at line 5157, column 2 in <anonymous function: rj.prototype.send>(a, b, c) in https://www.gstatic.com/recaptcha/api2/r20160307141848/recaptcha__en.js:
(a.window || oe(a.zg)).postMessage(JSON.stringify({
called from line 10402, column 3 in <anonymous function: g.Di>(a, b, c) in https://www.gstatic.com/recaptcha/api2/r20160307141848/recaptcha__en.js:
vj(this.H, "anchor_" + a, ae().parent.frames[a], "*").send("anchor_" + a, "ready_challenge", new Mi(this.lf))
called from line 10259, column 2 in <anonymous function: g.Ya>(a) in https://www.gstatic.com/recaptcha/api2/r20160307141848/recaptcha__en.js:
this.l.wc.Di(u(this.Lk, this), u(this.Mk, this), u(this.Nk, this))
called from line 10439, column 2 in <anonymous function>(a) in https://www.gstatic.com/recaptcha/api2/r20160307141848/recaptcha__en.js:
(new dp(a)).Me().Ya(T(a, 1))
此错误发生在不同站点实例的不同位置,但非常稳定。清理缓存和调试没有任何结果。谷歌中也有一些类似的问题,但没有人回答该怎么做。你对这个错误有任何想法吗?
几天前谷歌更新了验证码代码,错误消息已经消失了......但是现在我们有无限循环,而不是消息,因为 reCAPTCHA 捕获错误并尝试再次发送数据。这种行为甚至比错误消息更糟糕。我发现的"修复"它的唯一方法 - 对脚本使用 fallback=true:https://www.google.com/recaptcha/api.js?fallback=true 歌剧而不是 https://www.google.com/recaptcha/api.js这不是一个理想的解决方案,但它至少有效。我希望它对将面临类似问题的人有用。
相关文章:
- Selenium WebDriver and JavaScript change
- PHP and Javascript functions
- Javascript Return and if/else
- SetTimeout and clearTimeout in Javascript
- lightbox in html 5 and javascript
- TimelineJS and AngularJS
- timeago.js with datatable and PHP
- javascript button ajax and php
- Ajax and Json with Rails
- Combine onload, onresize and onclick
- php布尔值's小写AND大写和数字布尔值'可以接受
- setTimeout and V8
- Jquery post and onclick
- Moment js and IOS
- Rails 3.2 and Paloma gem
- Backbone, TypeScript, and super
- 嵌入式pdf在Opera浏览器中总是名列前茅
- iframe and JavaScript on different pages
- JSON and jQuery Search
- NoRecaptcha 2 and Opera 12