NoRecaptcha 2 和 Opera 12

NoRecaptcha 2 and Opera 12

Obtain strange error in opera 12.16 under windows 7(opera 12.16 under linux 和其他浏览器没有任何问题)。当我点击 "I'm not a robot" 时,浏览器会显示一个警告 "Cannot contact reCAPTCHA. Check your connection and try again." 并在控制台中显示:

    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))

这个错误发生在网站不同实例的不同地方,但非常稳定。清理缓存和调试没有任何结果。 google 中有一些类似的问题,但没有人回答该怎么做。 你知道这个错误吗?

几天前 google 更新了 recaptcha 代码,错误消息消失了...但现在我们有无限循环而不是消息,因为 recaptcha 捕获错误并尝试再次发送数据。这种行为甚至比错误消息更糟糕。我发现 "fix" 的唯一方法 - 对脚本使用 fallback=true : https://www.google.com/recaptcha/api.js?fallback=true in opera instead of https://www.google.com/recaptcha/api.js 这不是一个理想的解决方案,但它至少有效。我希望它对遇到类似问题的人有用。