1$(document).ready(function() { 2 if (window.location.search.substring(1) === '' || ! ($("#stock_id").length)) { 3 return; 4 } 5 6 // cookieÖo^ 7 $.ajax({ 8 url: '/php/api/smc/cookie_management.php', 9 async: false, 10 cache: false, 11 data: 'cookie_mode=SET&stock_id=' + $("#stock_id").val() + "&" + window.location.search.substring(1) 12 }) 13 .then( 14 // success callback 15 function (data) { 16 (function(){ 17 var ary_set_parameters = new Array(); 18 19 // æ¾p[^¼ÌÝè 20 var ary_parameters = Array( 21 "stock_id" 22 ); 23 24 // KvÈîñÌæ¾ 25 $.each(ary_parameters, function(key,value){ 26 ary_set_parameters[value] = ''; 27 if($("#" + value)){ 28 ary_set_parameters[value] = $("#" + value).val(); 29 } 30 }); 31 32 // jsÌÇÝÝÆÀs 33 $.getScript("https://10958384.collect.igodigital.com/collect.js", function(){ 34 _etmc.push(["setOrgId","10958384"]); 35 _etmc.push(["trackPageView", {"item": ary_set_parameters["stock_id"] }]); 36 }); 37 }()); 38 } 39 , function () { 40 // false callback 41 } 42 ); 43 44});
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.