E

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

· 2006-05-11 (목) 10:41:57 · 2952
<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-06-08 조회 4,013
06-05-31 조회 3,231
06-05-30 조회 3,686
06-05-29 조회 5,404
06-05-20 조회 6,423
06-05-20 조회 7,788
06-05-13 조회 3,665
06-05-13 조회 3,565
06-05-13 조회 3,298
06-05-13 조회 3,384
06-05-10 조회 3,359
06-05-02 조회 3,158
06-05-01 조회 3,168
06-05-01 조회 3,075
06-05-01 조회 2,986
06-05-01 조회 2,991
06-05-01 조회 3,142
06-05-01 조회 4,303
06-05-01 조회 4,149
06-04-30 조회 3,966
06-04-30 조회 3,641
06-04-29 조회 3,727
06-04-29 조회 3,381
06-04-29 조회 3,434
06-04-29 조회 3,796
06-04-28 조회 3,196
06-04-28 조회 5,057
06-04-28 조회 3,585
06-04-28 조회 4,198
06-04-28 조회 3,340
06-04-27 조회 4,137
06-04-27 조회 3,331
06-04-26 조회 4,206
06-04-26 조회 4,586
06-04-25 조회 6,294
06-04-25 조회 4,182
06-04-20 조회 3,940
06-04-17 조회 5,099
06-04-12 조회 3,484
06-04-11 조회 3,851
06-04-08 조회 4,725
06-03-17 조회 3,987
06-03-15 조회 4,661
06-03-06 조회 5,415
bbbking
05-11-05 조회 6,767
05-09-23 조회 5,074
05-08-25 조회 6,801
05-07-29 조회 5,065
05-07-05 조회 6,478
05-06-28 조회 6,828
05-06-20 조회 4,555