1var captchaResponse = null; 2function correctCaptcha(response) { 3 captchaResponse = response; 4} 5var _captchaTries = 0; 6function recaptchaOnload() { 7 _captchaTries++; 8 if (_captchaTries > 9) 9 return; 10 $('.g-recaptcha2').each(function (index, el) { 11 grecaptcha.render(el, { 12 'sitekey': $(el).attr('data-sitekey'), 13 'callback': function (response) { 14 correctCaptcha(response); 15 }, 16 'expired-callback': function () { 17 setTimeout(function () { 18 grecaptcha.reset(); 19 }, 1000); 20 }, 21 }); 22 }); 23}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.