Google reCaptcha IE8

4.1k views Asked by At

Is Google reCaptcha v2 supported in Internet Explorer 8?

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

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

Object doesn't support property or method 'getContext'
1

There are 1 answers

0
IanWatson On BEST ANSWER

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

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