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,769
19년 전 조회 1,694
19년 전 조회 2,188
19년 전 조회 5,389
19년 전 조회 6,683
19년 전 조회 2,536
19년 전 조회 2,095
19년 전 조회 2,589
19년 전 조회 3,246
19년 전 조회 3,482
19년 전 조회 2,964
19년 전 조회 2,581
19년 전 조회 4,689
19년 전 조회 6,693
19년 전 조회 4,965
19년 전 조회 5,930
19년 전 조회 2,655
19년 전 조회 2,478
19년 전 조회 2,185
19년 전 조회 2,279
19년 전 조회 4,574
19년 전 조회 4,632
19년 전 조회 2,484
19년 전 조회 2,156
19년 전 조회 2,487
19년 전 조회 3,115
19년 전 조회 2,910
19년 전 조회 1,875
19년 전 조회 1,934
19년 전 조회 3,129
19년 전 조회 2,345
19년 전 조회 3,603
19년 전 조회 2,533
19년 전 조회 1,836
19년 전 조회 2,443
19년 전 조회 1,704
19년 전 조회 1,385
19년 전 조회 1,516
19년 전 조회 1,785
19년 전 조회 1,559
19년 전 조회 1,761
19년 전 조회 1,547
19년 전 조회 1,929
19년 전 조회 1,826
19년 전 조회 1,423
19년 전 조회 1,426
19년 전 조회 1,337
19년 전 조회 1,210
19년 전 조회 1,387
19년 전 조회 1,957
19년 전 조회 2,377
19년 전 조회 2,853
19년 전 조회 2,290
19년 전 조회 1,782
19년 전 조회 7,013
19년 전 조회 3,710
19년 전 조회 2,316
19년 전 조회 2,338
19년 전 조회 2,821
19년 전 조회 5,758
19년 전 조회 5,540
19년 전 조회 2,232
19년 전 조회 3,272
19년 전 조회 2,842
19년 전 조회 2,194
19년 전 조회 2,708
19년 전 조회 1,563
19년 전 조회 1,716
19년 전 조회 1,812
19년 전 조회 1,988
19년 전 조회 1,664
19년 전 조회 1,791
19년 전 조회 1,758
19년 전 조회 1,828
19년 전 조회 1,508
19년 전 조회 2,630
19년 전 조회 1,968
19년 전 조회 3,215
19년 전 조회 3,248
19년 전 조회 2,503
19년 전 조회 2,589
19년 전 조회 2,416
19년 전 조회 2,674
19년 전 조회 2,662
19년 전 조회 3,142
19년 전 조회 2,857
19년 전 조회 5,265
19년 전 조회 2,093
19년 전 조회 2,174
19년 전 조회 1,983
19년 전 조회 1,909
19년 전 조회 1,913
19년 전 조회 2,109
19년 전 조회 3,182
19년 전 조회 3,054
19년 전 조회 2,823
19년 전 조회 2,527
19년 전 조회 2,604
19년 전 조회 2,269
19년 전 조회 2,313
🐛 버그신고