1$(function () { 2 var client = new ClientJS(); // Create A New Client Object 3 4 var url = $('#base_url').val() + "api/visitorsLog"; 5 6 $.ajaxSetup({ 7 headers: { 8 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 9 } 10 }); 11 12 var data = { 13 browserId: client.getFingerprint(), 14 browserName: client.getBrowser(), 15 browserVersion: client.getBrowserVersion(), 16 userAgent: client.getUserAgent(), 17 os: client.getOS(), 18 osVersion: client.getOSVersion(), 19 }; 20 21 22 $.ajax({ 23 type: "GET", 24 url: url, 25 data: data, 26 dataType: 'json', 27 success: function (response) { 28 //console.log(response); 29 var visitors = response; 30 $('#today').html(visitors.today); 31 $('#yesterday').html(visitors.yesterday); 32 $('#week').html(visitors.week); 33 $('#month').html(visitors.month); 34 $('#all').html(visitors.all); 35 }, 36 error: function (err, msg) { 37 console.log(err, msg); 38 } 39 }); 40 41 42});
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.