JS를 이용한 브라우저 지원 글자 알아보기

<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<html>
<head></head>
<body>

<script>

function char_print(){
    st_date = new Date();
    st_time = st_date.getTime()
    msg =new Array(65536);
    for(i = 0 ; i < 65536 ; i++)
    {
    str_i = '&#'+i ;
//    window.status = ' count ' + i;
    str = str_i;
    if(i%30==0)
    str+='<br>';
    msg[i]=str;
    }
    document.write(msg.toString());

    st_date = new Date();
    ed_time = st_date.getTime()
    gap_time = ((ed_time- st_time)/1000);
    window.status ='END : '+gap_time+' Sec';
    alert('END : '+gap_time+' Sec');
}



result = confirm('Start?');
if(result){
    char_print();
}
</script>

</body>
</html>
댓글
  • No Nickname
    No Comment
  • 권한이 없습니다.
    {{m_row.m_nick}}
    -