1jQuery(function() { 2 var $forms = jQuery('form'); 3 $forms.each(function(){ 4 var $form = jQuery(this); 5 6 /* 7 * Spam-Check 8 * Removes the "phone" input from the DOM if JS is enabled 9 * Spamers wont remove it and fill it out wrong because it expects an email -> spam is detected 10 */ 11 if ( $form.find('input[name="phone"]').size() ) { 12 $form.find('input[name="phone"]').parent().detach().remove(); 13 14 // event handler 15 jQuery(document).on("keypress mousemove touchstart", function() { 16 jQuery("input[name=sptestok]").val("1"); 17 }); 18 } 19 }); 20 21 // set select fields 22 if (typeof NCM_SELECT_FIELDS != "undefined" && NCM_SELECT_FIELDS.length) { 23 var requestParams = Environment.requestParams(); 24 jQuery.each(NCM_SELECT_FIELDS, function(index, fieldName) { 25 var $field = jQuery("select[name="+fieldName+"]"); 26 if (!$field.size() || $field.val() || !requestParams[fieldName]) { 27 return; 28 } 29 $field.val(requestParams[fieldName]); 30 }); 31 } 32 33});
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.