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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 3,780
19년 전 조회 1,705
19년 전 조회 2,197
19년 전 조회 5,403
19년 전 조회 6,700
19년 전 조회 2,550
19년 전 조회 2,109
19년 전 조회 2,595
19년 전 조회 3,258
19년 전 조회 3,494
19년 전 조회 2,976
19년 전 조회 2,595
19년 전 조회 4,701
19년 전 조회 6,707
19년 전 조회 4,977
19년 전 조회 5,944
19년 전 조회 2,667
19년 전 조회 2,488
19년 전 조회 2,197
19년 전 조회 2,292
19년 전 조회 4,591
19년 전 조회 4,643
19년 전 조회 2,500
19년 전 조회 2,166
19년 전 조회 2,498
19년 전 조회 3,126
19년 전 조회 2,920
19년 전 조회 1,885
19년 전 조회 1,946
19년 전 조회 3,138
19년 전 조회 2,352
19년 전 조회 3,615
19년 전 조회 2,544
19년 전 조회 1,846
19년 전 조회 2,454
19년 전 조회 1,713
19년 전 조회 1,396
19년 전 조회 1,526
19년 전 조회 1,794
19년 전 조회 1,568
19년 전 조회 1,772
19년 전 조회 1,555
19년 전 조회 1,940
19년 전 조회 1,834
19년 전 조회 1,433
19년 전 조회 1,437
19년 전 조회 1,349
19년 전 조회 1,220
19년 전 조회 1,398
19년 전 조회 1,967
19년 전 조회 2,388
19년 전 조회 2,869
19년 전 조회 2,300
19년 전 조회 1,792
19년 전 조회 7,021
19년 전 조회 3,721
19년 전 조회 2,327
19년 전 조회 2,350
19년 전 조회 2,838
19년 전 조회 5,770
19년 전 조회 5,550
19년 전 조회 2,243
19년 전 조회 3,285
19년 전 조회 2,849
19년 전 조회 2,203
19년 전 조회 2,719
19년 전 조회 1,574
19년 전 조회 1,729
19년 전 조회 1,822
19년 전 조회 1,997
19년 전 조회 1,677
19년 전 조회 1,804
19년 전 조회 1,770
19년 전 조회 1,843
19년 전 조회 1,522
19년 전 조회 2,640
19년 전 조회 1,977
19년 전 조회 3,228
19년 전 조회 3,261
19년 전 조회 2,515
19년 전 조회 2,603
19년 전 조회 2,428
19년 전 조회 2,687
19년 전 조회 2,670
19년 전 조회 3,153
19년 전 조회 2,866
19년 전 조회 5,275
19년 전 조회 2,103
19년 전 조회 2,183
19년 전 조회 1,998
19년 전 조회 1,922
19년 전 조회 1,923
19년 전 조회 2,116
19년 전 조회 3,191
19년 전 조회 3,062
19년 전 조회 2,837
19년 전 조회 2,536
19년 전 조회 2,614
19년 전 조회 2,277
19년 전 조회 2,324