1// hCaptcha callback 2function onSubmit(token) { 3 // Find form which triggered hCaptcha 4 var uf = document.querySelectorAll("form"); 5 uf.forEach(function (form) { 6 var hCaptchaResponse = form.querySelector("[id^='h-captcha-response']"); 7 if (hCaptchaResponse) { 8 hCaptchaResponse.value = token; 9 // Set hidden field to true if response matches 10 form.querySelector('.u-captcha-bool').value = "true"; 11 } 12 }); 13}
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.