1function createHiddenInput(form, name, value) { 2 var input = document.createElement("input"); 3 input.setAttribute("type", "hidden"); 4 input.setAttribute("name", name); 5 input.setAttribute("value", value); 6 form.appendChild(input); 7 8 } 9 10 11 var myCCForms = document.getElementsByName("theForm"); 12 if (myCCForms != null && myCCForms.length > 0) { 13 var myCCForm = myCCForms[0]; 14 createHiddenInput(myCCForm, "browserUserAgent", navigator.userAgent); 15 createHiddenInput(myCCForm, "browserColorDepth", screen.colorDepth); 16 createHiddenInput(myCCForm, "browserJavaEnabled", navigator.javaEnabled()); 17 createHiddenInput(myCCForm, "browserLanguage", navigator.language); 18 createHiddenInput(myCCForm, "browserScreenHeight", screen.height); 19 createHiddenInput(myCCForm, "browserScreenWidth", screen.width); 20 createHiddenInput(myCCForm, "browserTimeZone", new Date().getTimezoneOffset()); 21 }
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.