E

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

· 2006-05-11 (목) 10:41:57 · 2960
<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건
+
제목 글쓴이 날짜 조회
06-05-30 조회 3,689
06-05-30 조회 3,386
06-05-29 조회 5,408
06-05-29 조회 3,453
06-05-28 조회 3,781
06-05-26 조회 4,489
06-05-26 조회 4,774
06-05-26 조회 4,344
06-05-24 조회 3,498
06-05-24 조회 4,099
06-05-24 조회 4,987
06-05-24 조회 4,886
06-05-23 조회 2,720
06-05-22 조회 3,177
06-05-20 조회 6,429
06-05-20 조회 7,796
06-05-18 조회 3,542
06-05-18 조회 3,123
06-05-17 조회 3,593
06-05-16 조회 4,345
06-05-15 조회 4,506
06-05-15 조회 3,989
06-05-15 조회 3,644
06-05-14 조회 5,740
06-05-14 조회 7,761
06-05-14 조회 6,039
06-05-14 조회 6,996
06-05-13 조회 3,671
06-05-13 조회 3,567
06-05-13 조회 3,303
06-05-13 조회 3,390
06-05-12 조회 5,611
06-05-12 조회 5,653
06-05-12 조회 3,598
06-05-12 조회 3,177
06-05-11 조회 3,545
06-05-11 조회 4,159
06-05-11 조회 3,902
06-05-11 조회 2,890
06-05-11 조회 2,940
06-05-11 조회 4,139
06-05-11 조회 3,369
06-05-11 조회 4,587
06-05-11 조회 3,604
06-05-11 조회 2,843
06-05-11 조회 3,457
06-05-11 조회 2,730
06-05-11 조회 2,415
06-05-11 조회 2,501
06-05-11 조회 2,844
06-05-11 조회 2,562
06-05-11 조회 2,775
06-05-11 조회 2,548
06-05-11 조회 2,947
06-05-11 조회 2,831
06-05-11 조회 2,481
06-05-11 조회 2,423
06-05-11 조회 2,352
06-05-11 조회 2,209
06-05-11 조회 2,418
06-05-11 조회 2,961
06-05-10 조회 3,445
06-05-10 조회 3,904
06-05-10 조회 3,362
06-05-10 조회 2,783
06-05-09 조회 8,120
06-05-09 조회 4,775
06-05-09 조회 3,343
06-05-09 조회 3,444
06-05-08 조회 3,877
06-05-08 조회 6,742
06-05-08 조회 6,574
06-05-08 조회 3,243
06-05-08 조회 4,321
06-05-07 조회 3,924
06-05-07 조회 3,230
06-05-07 조회 3,786
06-05-07 조회 2,574
06-05-07 조회 2,723
06-05-07 조회 2,803
06-05-07 조회 3,017
06-05-07 조회 2,704
06-05-07 조회 2,815
06-05-07 조회 2,739
06-05-07 조회 2,821
06-05-07 조회 2,527
06-05-07 조회 3,648
06-05-06 조회 2,969
06-05-06 조회 4,246
06-05-06 조회 4,330
06-05-06 조회 3,524
06-05-06 조회 3,629
06-05-06 조회 3,446
06-05-06 조회 3,700
06-05-06 조회 3,700
06-05-06 조회 4,150
06-05-06 조회 3,959
06-05-03 조회 6,320
06-05-02 조회 3,158
06-05-01 조회 3,170