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,765
19년 전 조회 1,690
19년 전 조회 2,185
19년 전 조회 5,387
19년 전 조회 6,681
19년 전 조회 2,535
19년 전 조회 2,092
19년 전 조회 2,586
19년 전 조회 3,244
19년 전 조회 3,480
19년 전 조회 2,962
19년 전 조회 2,578
19년 전 조회 4,689
19년 전 조회 6,691
19년 전 조회 4,960
19년 전 조회 5,926
19년 전 조회 2,652
19년 전 조회 2,474
19년 전 조회 2,183
19년 전 조회 2,275
19년 전 조회 4,571
19년 전 조회 4,629
19년 전 조회 2,481
19년 전 조회 2,154
19년 전 조회 2,484
19년 전 조회 3,115
19년 전 조회 2,906
19년 전 조회 1,873
19년 전 조회 1,931
19년 전 조회 3,128
19년 전 조회 2,342
19년 전 조회 3,601
19년 전 조회 2,532
19년 전 조회 1,834
19년 전 조회 2,441
19년 전 조회 1,701
19년 전 조회 1,382
19년 전 조회 1,515
19년 전 조회 1,782
19년 전 조회 1,556
19년 전 조회 1,760
19년 전 조회 1,544
19년 전 조회 1,928
19년 전 조회 1,823
19년 전 조회 1,421
19년 전 조회 1,423
19년 전 조회 1,336
19년 전 조회 1,207
19년 전 조회 1,385
19년 전 조회 1,954
19년 전 조회 2,376
19년 전 조회 2,851
19년 전 조회 2,288
19년 전 조회 1,781
19년 전 조회 7,011
19년 전 조회 3,706
19년 전 조회 2,314
19년 전 조회 2,334
19년 전 조회 2,818
19년 전 조회 5,755
19년 전 조회 5,537
19년 전 조회 2,230
19년 전 조회 3,269
19년 전 조회 2,839
19년 전 조회 2,191
19년 전 조회 2,706
19년 전 조회 1,560
19년 전 조회 1,715
19년 전 조회 1,810
19년 전 조회 1,986
19년 전 조회 1,661
19년 전 조회 1,789
19년 전 조회 1,756
19년 전 조회 1,825
19년 전 조회 1,506
19년 전 조회 2,628
19년 전 조회 1,965
19년 전 조회 3,214
19년 전 조회 3,246
19년 전 조회 2,500
19년 전 조회 2,588
19년 전 조회 2,412
19년 전 조회 2,673
19년 전 조회 2,660
19년 전 조회 3,139
19년 전 조회 2,854
19년 전 조회 5,263
19년 전 조회 2,090
19년 전 조회 2,172
19년 전 조회 1,980
19년 전 조회 1,908
19년 전 조회 1,911
19년 전 조회 2,104
19년 전 조회 3,179
19년 전 조회 3,051
19년 전 조회 2,823
19년 전 조회 2,525
19년 전 조회 2,601
19년 전 조회 2,265
19년 전 조회 2,311
🐛 버그신고