1var pageid = ahc_ajax_front.page_id; 2var page_id = (pageid.length > 0) ? pageid : ''; 3var pagetitle = ahc_ajax_front.page_title; 4var page_title = (pagetitle.length > 0) ? pagetitle : ''; 5var posttype = ahc_ajax_front.post_type; 6var post_type = (posttype.length > 0) ? posttype : ''; 7var referer = document.referrer; 8var useragent = window.navigator.userAgent; 9var servername = location.hostname; 10var hostname = location.host; 11var request_uri = location.pathname.substring(1); 12 13var xhttp = new XMLHttpRequest(); 14 15xhttp.open("POST", ahc_ajax_front.ajax_url, true); 16xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); 17xhttp.send("action=ahcpro_track_visitor&page_id="+ page_id +"&page_title="+ page_title + "&post_type="+ post_type + "&referer="+ referer +"&useragent="+ useragent +"&servername="+ servername +"&hostname="+ hostname +"&request_uri="+request_uri); 18/* 19 20jQuery(document).ready(function () 21{ 22 var pageid = ahc_ajax_front.page_id; 23 var page_id = (pageid.length > 0) ? pageid : ''; 24 var pagetitle = ahc_ajax_front.page_title; 25 var page_title = (pagetitle.length > 0) ? pagetitle : ''; 26 var posttype = ahc_ajax_front.post_type; 27 var post_type = (posttype.length > 0) ? posttype : ''; 28 var referer = document.referrer; 29 var useragent = window.navigator.userAgent; 30 var servername = location.hostname; 31 var hostname = location.host; 32 var request_uri = location.pathname.substring(1); 33 34 jQuery.ajax({ 35 type: 'POST', 36 url : ahc_ajax_front.ajax_url, 37 data: { 38 'action': 'ahcpro_track_visitor', 39 'page_id': page_id, 40 'page_title': page_title, 41 'post_type': post_type, 42 'referer': referer, 43 'useragent':useragent, 44 'servername':servername, 45 'hostname':hostname, 46 'request_uri':request_uri 47 }, 48 success: function(data){ 49 console.log(data); 50 }, 51 error: function(data) 52 { 53 console.log(data); 54 } 55 }); 56}); 57*/
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.