1$(document).ready(function() { 2 var baseHref = $("base").attr('href'); 3 var path = window.location.pathname; 4 5 if (path.startsWith(baseHref.replace(window.location.origin, ''))) { 6 path = path.substring(baseHref.length - window.location.origin.length - 1); 7 } 8 9 $.ajax({ 10 type: "GET", 11 url: "https://api.ipify.org/?format=json", 12 success: function (data) { 13 var ip = data.ip; 14 15 $.ajax({ 16 type: "POST", 17 url: "ajax/analyticsLiteTracking", 18 data: { 19 url: path, 20 ip: ip 21 } 22 }); 23 } 24 }); 25});
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.