1jQuery(function($) { 2 // antibot keys are expired then add new keys to comment form 3 if ($('.comment-form-aios-antibot-keys').length && $('#aios_antibot_keys_expiry').length) { 4 if ($('#aios_antibot_keys_expiry').val() < Math.floor(Date.now() / 1000)) { 5 jQuery.ajax({ 6 url: AIOS_FRONT.ajaxurl, 7 type: 'post', 8 dataType: 'json', 9 cache: false, 10 data: { 11 action: 'get_antibot_keys', 12 nonce: AIOS_FRONT.ajax_nonce 13 }, 14 success: function(resp) { 15 if (resp.hasOwnProperty('error_code')) { 16 console.log("ERROR: " + resp.error_message); 17 } else if (resp.hasOwnProperty('data')) { 18 for (var indx in resp.data) { 19 var input = $("<input>").attr("type", "hidden"); 20 input.attr("name", resp.data[indx][0]); 21 input.attr("value", resp.data[indx][1]); 22 $('.comment-form-aios-antibot-keys').append(input); 23 } 24 } 25 }, 26 error: function(xhr, text_status, error_thrown) { 27 console.log("ERROR: " + text_status + " : " + error_thrown); 28 } 29 }); 30 } 31 } 32});
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.