E

사용자 웹브라우저 정보 보여주기 해상도, 자바설치여부 등등

<SCRIPT LANGUAGE="JavaScript">

<!-- begin
function display() {
window.onerror=null;

colors = window.screen.colorDepth;
document.form.color.value = Math.pow (2, colors);
if (window.screen.fontSmoothingEnabled == true)
document.form.fonts.value = "Yes";
else document.form.fonts.value = "No";

document.form.navigator.value = navigator.appName;
document.form.version.value = navigator.appVersion;
document.form.colordepth.value = window.screen.colorDepth;
document.form.width.value = window.screen.width;
document.form.height.value = window.screen.height;
document.form.maxwidth.value = window.screen.availWidth;
document.form.maxheight.value = window.screen.availHeight;
document.form.codename.value = navigator.appCodeName;
document.form.platform.value = navigator.platform;
if (navigator.javaEnabled() < 1) document.form.java.value="No";
if (navigator.javaEnabled() == 1) document.form.java.value="Yes";

if(navigator.javaEnabled() && (navigator.appName != "Microsoft Internet Explorer")) {
vartool=java.awt.Toolkit.getDefaultToolkit();
addr=java.net.InetAddress.getLocalHost();
host=addr.getHostName();
ip=addr.getHostAddress();
alert("Your host name is '" + host + "'nYour IP address is " + ip);
}
}
// end -->
</script>

<BODY OnLoad="display()">

<center>
<form name=form>
<table border=1 width=300>

<tr>
<td>current resolution:</td>
<td align=center><input type=text size=4 maxlength=4 name=width>
x <input type=text size=4 maxlength=4 name=height></td>
</tr>

<tr>
<td>
browser:</td>
<td align=center><input type=text size=20 maxlength=20 name=navigator></td>
</tr>
<tr>
<td>
max resolution:</td>
<td align=center><input type=text size=4 maxlength=4 name=maxwidth>
x <input type=text size=4 maxlength=4 name=maxheight></td>
</tr>

<tr>
<td>
version:</td>
<td align=center><input type=text size=20 maxlength=20 name=version></td>
</tr>

<tr>
<td>
color depth:</td>
<td align=center><input type=text size=2 maxlength=2 name=colordepth> bit</td>
</tr>

<tr>
<td>
code name:</td>
<td align=center><input type=text size=15 maxlength=15 name=codename></td>
</tr>

<tr>
<td>
platform:</td>
<td align=center><input type=text size=15 maxlength=15 name=platform></td>
</tr>

<tr>
<td>
colors:</td>
<td align=center><input type=text size=8 maxlength=8 name=color></td>
</tr>

<tr>
<td>
java enabled:</td>
<td align=center><input type=text size=3 maxlength=3 name=java></td>
</tr>

<tr>
<td>
anti-aliasing fonts:</td>
<td align=center><input type=text size=3 maxlength=3 name=fonts></td>
</tr>

<tr>
<td colspan=2 align=center>
<input type=button name=again value="again?" onclick="display()"></td>
</tr>
</table>
</form>
</center><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
19년 전 조회 3,900
19년 전 조회 1,828
19년 전 조회 2,324
19년 전 조회 5,545
19년 전 조회 6,836
19년 전 조회 2,675
19년 전 조회 2,242
19년 전 조회 2,720
19년 전 조회 3,392
19년 전 조회 3,622
19년 전 조회 3,102
19년 전 조회 2,726
19년 전 조회 4,830
19년 전 조회 6,831
19년 전 조회 5,109
19년 전 조회 6,070
19년 전 조회 2,796
19년 전 조회 2,618
19년 전 조회 2,321
19년 전 조회 2,421
19년 전 조회 4,721
19년 전 조회 4,782
19년 전 조회 2,641
19년 전 조회 2,296
19년 전 조회 2,624
19년 전 조회 3,253
19년 전 조회 3,042
19년 전 조회 2,017
19년 전 조회 2,085
19년 전 조회 3,265
19년 전 조회 2,480
19년 전 조회 3,749
19년 전 조회 2,678
19년 전 조회 1,969
19년 전 조회 2,587
19년 전 조회 1,842
19년 전 조회 1,526
19년 전 조회 1,655
19년 전 조회 1,935
19년 전 조회 1,698
19년 전 조회 1,886
19년 전 조회 1,683
19년 전 조회 2,076
19년 전 조회 1,959
19년 전 조회 1,571
19년 전 조회 1,572
19년 전 조회 1,472
19년 전 조회 1,348
19년 전 조회 1,529
19년 전 조회 2,098
19년 전 조회 2,504
19년 전 조회 3,005
19년 전 조회 2,432
19년 전 조회 1,922
19년 전 조회 7,147
19년 전 조회 3,844
19년 전 조회 2,456
19년 전 조회 2,469
19년 전 조회 2,965
19년 전 조회 5,887
19년 전 조회 5,679
19년 전 조회 2,362
19년 전 조회 3,415
19년 전 조회 2,983
19년 전 조회 2,335
19년 전 조회 2,849
19년 전 조회 1,705
19년 전 조회 1,862
19년 전 조회 1,954
19년 전 조회 2,127
19년 전 조회 1,793
19년 전 조회 1,937
19년 전 조회 1,895
19년 전 조회 1,977
19년 전 조회 1,650
19년 전 조회 2,764
19년 전 조회 2,090
19년 전 조회 3,357
19년 전 조회 3,391
19년 전 조회 2,645
19년 전 조회 2,724
19년 전 조회 2,554
19년 전 조회 2,808
19년 전 조회 2,805
19년 전 조회 3,278
19년 전 조회 2,989
19년 전 조회 5,398
19년 전 조회 2,225
19년 전 조회 2,306
19년 전 조회 2,135
19년 전 조회 2,046
19년 전 조회 2,050
19년 전 조회 2,249
19년 전 조회 3,322
19년 전 조회 3,181
19년 전 조회 2,968
19년 전 조회 2,667
19년 전 조회 2,753
19년 전 조회 2,407
19년 전 조회 2,453