1const params = new URLSearchParams(window.location.search) 2const orderId = params.get('args') 3const productCode = params.get('tkp1') 4 5;(function acsTrack() { 6 var PV = 'pgylcfna2rqp' 7 var _ARGSV = orderId 8 var _PGV = 'pg[]=' + productCode + '.1.1' 9 var _TKP1V = productCode 10 var KEYS = { 11 cid: ['CL_', 'ACT_', 'cid_auth_get_type'], 12 plid: ['PL_', 'APT_', 'plid_auth_get_type'], 13 } 14 var turl = 15 'https://s8affi.net/track.php?p=' + PV + '&args=' + _ARGSV + '&' + _PGV + '&tkp1=' + _TKP1V 16 var cks = document.cookie.split('; ').reduce(function (ret, s) { 17 var kv = s.split('=') 18 if (kv[0] && kv[1]) ret[kv[0]] = kv[1] 19 return ret 20 }, []) 21 turl = Object.keys(KEYS).reduce(function (url, k) { 22 var vk = KEYS[k][0] + PV 23 var tk = KEYS[k][1] + PV 24 var v = '', 25 t = '' 26 if (cks[vk]) { 27 v = cks[vk] 28 if (cks[tk]) t = cks[tk] 29 } else if (localStorage.getItem(vk)) { 30 v = localStorage.getItem(vk) 31 t = 'ls' 32 } 33 if (v) url += '&' + k + '=' + v 34 if (t) url += '&' + KEYS[k][2] + '=' + t 35 return url 36 }, turl) 37 var xhr = new XMLHttpRequest() 38 xhr.open('GET', turl) 39 xhr.send() 40})()
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.