Recaptcha 2.0 not working in IE8 onwards

1,303 views
Skip to first unread message

disits...@wyn.com

unread,
Aug 14, 2015, 10:04:56 PM8/14/15
to reCAPTCHA
Subject: Recaptcha 2.0 not working in IE8 onwards



Dear Google Recaptcha Team,

 

Good evening.  We implemented the *new* Recaptcha on one of our websites about a month ago, and it was working perfectly on all of our supported browsers until today.  For some reason, the widget is not displaying on IE8, onwards.  In Chrome and Firefox, the widget is loading just fine.

 

In debugging it on IE, it is encountering an issue on the js -- line 151 character 470

Object doesn't support this property or method

 

Were there changes to your codebase today that may have affected the behavior in IE?

 

This is rather urgent, so please let us know at your earliest convenience.

 

Code Snippet:

<script type="text/javascript">

    var mySiteKey = "6LdV4gYTAAAAAN1VgDuqzi6OpmIk8fgVpE1E9bXA";

     var onloadCallback = function() {

       grecaptcha.render('recaptcha_html_element', {

         'sitekey' : mySiteKey,

         'theme': 'light'

       });

     };

   </script>



   <div id="RFMainContent">

       <div class="RFmodule" id="RFavailabilityCaptcha">

           <form name="captchaForm" method="post" action="/ffr/captcha.do">

               <input type="hidden" name="originalRequestMethod" value="">

               <input type="hidden" name="originalRequestUrl" value="">

               <input type="hidden" name="originalRequestParameters" value="">

               

               <h2>Verification</h2>

               <div><p><strong>ARE YOU HUMAN?</strong></p></div>

               <div class="clear"></div>

                       <div id="recaptcha_html_element" class="g-recaptcha" style="padding-left:12px;"></div>

              <!-- <div id="recaptcha_html_element" class="g-recaptcha" data-sitekey="6LdV4gYTAAAAAN1VgDuqzi6OpmIk8fgVpE1E9bXA" style="padding-left:12px;"></div>    -->         

               <div style="padding:10px;">

               <input type="submit" value="Continue" class="btnGreen">

               </div>

               <h2>Why do we do this?</h2>

               <p>This step is an added level of security that helps us ensure that our members (and not automated programs) are accessing the online reservations system.  In addition, by limiting automated search programs from accessing the system, Website performance is improved.

               

           </form>

           <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>

       </div>

   </div>

 

 

Thanks,

 

Kit Angeles

Wyndham Vacation Ownership

Information Technology

 
 

disits...@wyn.com

unread,
Aug 17, 2015, 10:04:25 AM8/17/15
to reCAPTCHA
We were able to solve this, and having it work on Ie9 + by removing the following meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> <!-- so IE8 won't force compatibility mode --> 

webinte...@healthalliance.org

unread,
Aug 17, 2015, 3:40:29 PM8/17/15
to reCAPTCHA
having same issue today.

Vadim Pluzhinsky

unread,
Aug 17, 2015, 4:31:27 PM8/17/15
to reCAPTCHA
Hi, The Recaptcha 2.0 also does not work in IE8 for google test recaptcha page:
https://www.google.com/recaptcha/api2/demo


суббота, 15 августа 2015 г., 5:04:56 UTC+3 пользователь disits...@wyn.com написал:

Paul Martin

unread,
Aug 18, 2015, 6:15:14 AM8/18/15
to reCAPTCHA
I have this issue too. The script is using indexOf which is not supported by IE8: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf

The URL of the script where the error is occurring appears to have a date stamp in it: https://www.gstatic.com/recaptcha/api2/r20150812220525/recaptcha__en.js

Looks like this build may have been created on the 12th August?
Reply all
Reply to author
Forward
0 new messages