1function mousePosition(ev){ 2 if(ev.pageX || ev.pageY){//firefox¡¢chromeµÈä¯ÀÀÆ÷ 3 return {x:ev.pageX,y:ev.pageY}; 4 } 5 return {// IEä¯ÀÀÆ÷ 6 x:ev.clientX, 7 y:ev.clientY 8 }; 9} 10var heatMap_refer = document.referrer; 11heatMap_refer = heatMap_refer.replace(new RegExp("&","gm"),"*rums*"); 12heatMap_refer = encodeURI(heatMap_refer); 13heatMap_refer = encodeURI(heatMap_refer); 14function getHeatMapData(ev){ 15 var heatMap_rums = $("#heatMap_rums").attr("data"); 16 ev = ev || window.event; 17 var mousePos = mousePosition(ev); 18 var heatMapParam = heatMap_rums + "&x=" + mousePos.x + "&y=" + mousePos.y; 19 var url = $("#heatMap_rums").attr("url"); 20 if(typeof(url)=="undefined"){ 21 url = "/creatorCMS/heatMap/getData.page"; 22 url = window.location.protocol+"://"+window.location.host+window.location.port + url; 23 } 24 url += "?"+heatMapParam+"&referrer="+heatMap_refer 25 $.getScript(url); 26} 27document.onclick = getHeatMapData;
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.