谷歌reCaptcha IE8 [英] Google reCaptcha IE8

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

问题描述

Internet Explorer 8是否支持Google reCaptcha v2?

Is Google reCaptcha v2 supported in Internet Explorer 8?

如果没有合适的Internet Explorer 8兼容验证码?

If not is there any suitable Internet Explorer 8 compatible captchas?

我发现reCaptcha代码试图使用方法getContext的问题。

I am seeing a issue where the reCaptcha code is trying to use the method getContext.

Object doesn't support property or method 'getContext'


推荐答案

我结束的代码以下用于支持IE8。

The code I ended up using to support IE8 was the following.

<!--[if !IE 8]><!--><script src="https://www.google.com/recaptcha/api.js"></script><!--<![endif]-->
<!--[if IE 8]><script src="https://www.google.com/recaptcha/api.js?fallback=true"></script><![endif]-->

设置的差异是fallback = true,它将恢复为recaptcha的V1。

The difference being fallback=true is set which reverts back to V1 of recaptcha.

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

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