E

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

· 2006-05-11 (목) 10:41:57 · 2963
<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,713
10-09-19 조회 2,749
10-09-15 조회 2,751
10-09-15 조회 4,156
10-09-15 조회 3,372
10-09-15 조회 2,487
10-09-07 조회 3,597
10-08-27 조회 4,059
10-06-11 조회 4,218
10-05-31 조회 2,466
10-02-27 조회 4,998
10-02-09 조회 3,747
09-10-10 조회 7,336
09-03-19 조회 3,181
09-02-09 조회 3,460
09-02-09 조회 4,529
08-11-01 조회 2,906
08-09-29 조회 4,559
08-09-26 조회 3,511
08-09-26 조회 3,589
08-09-26 조회 2,724
08-09-26 조회 3,768
08-09-26 조회 3,492
08-09-26 조회 4,253
08-09-18 조회 3,568
08-09-09 조회 3,223
08-08-28 조회 2,763
08-07-06 조회 3,539
08-05-21 조회 4,694
08-05-13 조회 4,534
08-04-17 조회 4,909
08-02-19 조회 3,534
08-01-18 조회 3,841
08-01-10 조회 3,812
07-10-22 조회 3,652
07-10-09 조회 4,303
07-10-03 조회 3,508
07-07-06 조회 4,210
07-07-06 조회 4,425
07-07-06 조회 4,035
07-06-28 조회 3,563
07-06-05 조회 3,564
07-06-05 조회 4,112
07-05-30 조회 3,280
07-05-02 조회 3,684
07-04-15 조회 5,141
07-04-11 조회 3,627
07-04-05 조회 3,925
07-03-31 조회 3,148
07-03-31 조회 4,122
07-03-30 조회 3,728
07-03-24 조회 4,000
07-03-22 조회 3,655
07-03-12 조회 4,406
07-02-16 조회 3,267
07-02-14 조회 5,164
07-02-10 조회 3,991
07-02-09 조회 4,376
07-01-19 조회 4,042
07-01-16 조회 4,968
06-12-16 조회 5,833
06-11-30 조회 3,597
06-11-25 조회 3,696
06-10-15 조회 5,064
06-09-26 조회 5,307
06-09-26 조회 5,424
06-09-22 조회 4,263
06-09-21 조회 3,541
06-09-21 조회 3,632
06-09-02 조회 3,484
06-08-08 조회 5,114
06-07-20 조회 3,716
06-07-17 조회 3,348
06-07-13 조회 4,171
06-07-11 조회 3,470
06-07-11 조회 3,475
06-07-11 조회 3,832
06-06-29 조회 6,049
06-06-19 조회 6,453
06-06-02 조회 3,506
06-05-24 조회 4,991
06-05-14 조회 7,773
06-05-08 조회 3,881
06-02-02 조회 5,451
05-12-16 조회 4,497
05-12-05 조회 5,154
05-06-28 조회 4,102
05-04-11 조회 4,058
05-04-11 조회 4,246
05-04-11 조회 3,313
05-03-13 조회 3,215
05-03-12 조회 4,296
04-12-08 조회 7,776
04-12-01 조회 5,182
04-11-28 조회 3,355
04-11-28 조회 3,196
04-08-05 조회 5,609
04-08-05 조회 4,955
04-08-05 조회 5,566