E

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

· 2006-05-11 (목) 10:41:57 · 3006
<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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
10-09-25 조회 2,754
10-09-19 조회 2,791
10-09-15 조회 2,803
10-09-15 조회 4,205
10-09-15 조회 3,440
10-09-15 조회 2,536
10-09-07 조회 3,654
10-08-27 조회 4,105
10-06-11 조회 4,290
10-05-31 조회 2,537
10-02-27 조회 5,050
10-02-09 조회 3,795
09-10-10 조회 7,387
09-03-19 조회 3,240
09-02-09 조회 3,511
09-02-09 조회 4,565
08-11-01 조회 2,947
08-09-29 조회 4,600
08-09-26 조회 3,536
08-09-26 조회 3,610
08-09-26 조회 2,746
08-09-26 조회 3,788
08-09-26 조회 3,514
08-09-26 조회 4,285
08-09-18 조회 3,631
08-09-09 조회 3,264
08-08-28 조회 2,804
08-07-06 조회 3,574
08-05-21 조회 4,733
08-05-13 조회 4,579
08-04-17 조회 4,948
08-02-19 조회 3,565
08-01-18 조회 3,894
08-01-10 조회 3,854
07-10-22 조회 3,689
07-10-09 조회 4,351
07-10-03 조회 3,559
07-07-06 조회 4,239
07-07-06 조회 4,454
07-07-06 조회 4,070
07-06-28 조회 3,600
07-06-05 조회 3,613
07-06-05 조회 4,155
07-05-30 조회 3,324
07-05-02 조회 3,707
07-04-15 조회 5,190
07-04-11 조회 3,665
07-04-05 조회 3,972
07-03-31 조회 3,181
07-03-31 조회 4,157
07-03-30 조회 3,769
07-03-24 조회 4,026
07-03-22 조회 3,690
07-03-12 조회 4,442
07-02-16 조회 3,311
07-02-14 조회 5,197
07-02-10 조회 4,040
07-02-09 조회 4,416
07-01-19 조회 4,086
07-01-16 조회 5,018
06-12-16 조회 5,887
06-11-30 조회 3,635
06-11-25 조회 3,750
06-10-15 조회 5,105
06-09-26 조회 5,342
06-09-26 조회 5,458
06-09-22 조회 4,318
06-09-21 조회 3,568
06-09-21 조회 3,669
06-09-02 조회 3,509
06-08-08 조회 5,146
06-07-20 조회 3,771
06-07-17 조회 3,398
06-07-13 조회 4,219
06-07-11 조회 3,515
06-07-11 조회 3,513
06-07-11 조회 3,877
06-06-29 조회 6,110
06-06-19 조회 6,490
06-06-02 조회 3,546
06-05-24 조회 5,027
06-05-14 조회 7,814
06-05-08 조회 3,935
06-02-02 조회 5,485
05-12-16 조회 4,557
05-12-05 조회 5,189
05-06-28 조회 4,153
05-04-11 조회 4,107
05-04-11 조회 4,287
05-04-11 조회 3,349
05-03-13 조회 3,257
05-03-12 조회 4,321
04-12-08 조회 7,811
04-12-01 조회 5,220
04-11-28 조회 3,397
04-11-28 조회 3,239
04-08-05 조회 5,655
04-08-05 조회 5,004
04-08-05 조회 5,618