IE8 Object doesn't support property or method 'indexOf'

916 vistas
Ir al primer mensaje no leído

Sergey Z

no leída,
17 ago 2015, 4:28:06 a.m.17/8/2015
para reCAPTCHA
Hi, today I'm getting following error in IE8: Object doesn't support property or method 'indexOf'
File: recaptcha__en.js, Line: 151, Column: 470 - that maps to following code return a.ua?0<=U(a.ua,5).indexOf("JS_THIRDEYE"):!1}.


On Friday recaptcha was working. Looks like code is missing polyfill for ES5 array methods for IE8. Can this be fixed, please?

Thank you.

Olivier L.

no leída,
17 ago 2015, 9:57:28 a.m.17/8/2015
para reCAPTCHA
Hi,
I have the exact same issue with recaptcha__fr.js.
Look like the polyfill exist but don't work for this part of code.

var z = Array.prototype,
        La = z.indexOf ? function(a, b, c) {
            return z.indexOf.call(a, b, c)
        } : function(a, b, c) {
            c = null == c ? 0 : 0 > c ? Math.max(0, a.length + c) : c;
            if (r(a)) return r(b) && 1 == b.length ? a.indexOf(b, c) : -1;
            for (; c < a.length; c++)
                if (c in a && a[c] === b) return c;
            return -1

webinte...@healthalliance.org

no leída,
17 ago 2015, 3:41:11 p.m.17/8/2015
para reCAPTCHA
Having the same issue today as well.

webinte...@healthalliance.org

no leída,
17 ago 2015, 4:12:33 p.m.17/8/2015
para reCAPTCHA
Works in IE8, not in emulating from IE11.

Paul Martin

no leída,
18 ago 2015, 6:20:17 a.m.18/8/2015
para reCAPTCHA
This error is occurring because IE8 does not support indexOf(), see here: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf

Hopefully they can rework this code to not use indexOf().

amit motgi

no leída,
19 ago 2015, 7:34:48 p.m.19/8/2015
para reCAPTCHA
I am also seeing the same issue. Would be great if they could fix this one.

Paul Stephenson

no leída,
19 ago 2015, 8:51:15 p.m.19/8/2015
para reCAPTCHA
Also seeing this problem on a site that was seemingly working in IE8 until recently.

David Muñoz Camarero

no leída,
20 ago 2015, 6:16:23 a.m.20/8/2015
para reCAPTCHA
Same problem. I have to use reCaptcha old in IE8 while this is broken :(.

Kyoungmin Kim

no leída,
20 ago 2015, 4:08:45 p.m.20/8/2015
para reCAPTCHA
same problem.
I'm considering a migration to reCAPTCHA OLD version.

Elton Koltun

no leída,
24 ago 2015, 8:45:54 a.m.24/8/2015
para reCAPTCHA
I'm having the same problem, it's the second time it occurs

Webpage error details


User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Mon, 24 Aug 2015 12:37:12 UTC


Message: Script error
Line: 0
Char: 0
Code: 0
URI
: https://www.gstatic.com/recaptcha/api2/r20150817145345/recaptcha__en.js

radiant

no leída,
25 ago 2015, 2:54:24 a.m.25/8/2015
para reCAPTCHA
Anyone have a workaround to solve Object doesn't support property or method 'indexOf' issue on IE8? It's still breaking and reCaptcha is not appearing. Do the reCaptcha devs respond to this forums and take up the issues or is there a way to report the error to the core development team? 

Thanks,
Radiant

Calvin M. Cole

no leída,
28 ago 2015, 12:57:54 a.m.28/8/2015
para reCAPTCHA
I'm having the same issue. Has anyone been able to resolve?


On Monday, August 17, 2015 at 3:28:06 AM UTC-5, Sergey Z wrote:

Clinton Ward

no leída,
28 ago 2015, 4:30:02 a.m.28/8/2015
para reCAPTCHA
a lot of people reporting this issue. I hope it's resolved soon

Paul Martin

no leída,
28 ago 2015, 5:08:40 a.m.28/8/2015
para reCAPTCHA
Interestingly the browser requirements state that only the two most recent versions of each browser are supported.


Hopefully it still gets resolved though as IE8 is still fairly commonly used.
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos