1function getContextPath() { 2 return window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)); 3} 4 5//ìëì ë ¥ë°©ì§ë¬¸ì ìë¡ê³ 침 6function captchaRefresh(){ 7 $("#captchaImg").removeAttr("src").attr("src",getContextPath()+"/simpleCaptcha.png"+'?number='+Math.random()*1000); 8} 9//ìëë°©ì§ë¬¸êµ¬ ìì±ë£ê¸° 10function audio(){ 11 var rand = Math.random(); 12 var uAgent = navigator.userAgent; 13 var soundUrl = getContextPath()+'/captchaAudio.es?rand='+rand; 14 if(uAgent.indexOf('Trident')>-1 || uAgent.indexOf('MISE')>-1) { 15 /*IE ê²½ì° */ 16 audioPlayer(soundUrl); 17 } else if(!!document.createElement('audio').canPlayType){ 18 /*Chrome ê²½ì° */ 19 try { 20 new Audio(soundUrl).play(); 21 } catch (e) { 22 audioPlayer(soundUrl); 23 } 24 } else { 25 window.open(soundUrl,'','width=1,height=1'); 26 } 27} 28 29//ìëë°©ì§ë¬¸êµ¬ ìë¡ê³ 침 30function getImage(){ 31 $("#captchaImg").removeAttr("src").attr("src",getContextPath()+"/captchaImg.es"+'?number='+Math.random()*1000); 32} 33 34//ìëë°©ì§ë¬¸êµ¬ ìì± 35function audioPlayer(objUrl){ 36 $('#ccaudio').html('<bgsound src="' +objUrl +'">'); 37} 38 39//ìëë°©ì§ë¬¸êµ¬ ê° ì²´í¬ 40function chkAnswer(){ 41 $.ajax({ 42 url : getContextPath()+"/chkAnswer.es", 43 type : "GET", 44 cache : false, 45 dataType : "json", 46 data : { 47 answer : $('#captchaStr').val() 48 }, 49 async : false, 50 success : function(data){ 51 if(data == 200) { 52 sw = true; 53 }else{ 54 getImage(); 55 $('#captchaStr').val(''); 56 sw = false; 57 } 58 }, 59 error : function(request, status, error) { 60 alert('ìë¬'); 61 getImage(); 62 $('#captchaStr').val(''); 63 sw = false; 64 } 65 }); 66 return sw; 67}
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.