E

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

· 2006-05-11 (목) 10:41:57 · 3027
<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건
+
제목 글쓴이 날짜 조회
05-08-01 조회 4,039
05-07-24 조회 5,409
05-07-16 조회 5,517
bbbking
05-07-08 조회 3,341
bbbking
05-07-08 조회 3,138
bbbking
05-07-08 조회 8,775
05-07-01 조회 3,322
05-06-30 조회 4,705
05-06-24 조회 5,172
05-06-24 조회 3,406
05-06-21 조회 6,813
05-06-17 조회 4,643
05-06-15 조회 5,453
05-05-04 조회 3,695
05-04-11 조회 4,793
05-04-04 조회 5,206
05-04-02 조회 3,598
05-03-30 조회 3,299
05-03-15 조회 3,453
05-03-15 조회 3,130
05-03-14 조회 2,609
05-03-13 조회 2,823
05-03-13 조회 2,966
05-03-13 조회 2,796
05-03-13 조회 3,040
05-03-13 조회 4,633
05-03-13 조회 3,175
05-03-13 조회 2,601
05-03-13 조회 2,630
05-03-13 조회 2,491
05-03-13 조회 3,663
05-03-13 조회 2,697
05-03-13 조회 2,708
05-03-13 조회 3,222
05-03-13 조회 3,493
05-03-13 조회 3,084
05-03-13 조회 3,036
05-03-13 조회 3,715
05-03-13 조회 2,654
05-03-13 조회 4,165
05-03-13 조회 2,876
05-03-13 조회 3,232
05-03-13 조회 2,703
05-03-13 조회 3,884
05-03-13 조회 2,573
05-03-12 조회 4,907
05-02-04 조회 3,482
04-12-13 조회 7,110
04-12-01 조회 3,387
04-11-30 조회 3,456
04-11-30 조회 2,795
04-11-30 조회 2,695
04-11-30 조회 4,098
04-11-29 조회 3,834
04-11-28 조회 3,768
04-11-28 조회 4,129
04-11-28 조회 3,554
04-11-28 조회 3,047
04-11-28 조회 3,588
04-11-24 조회 3,261
04-11-23 조회 3,041
04-11-17 조회 3,050
04-11-12 조회 3,333
04-11-12 조회 2,678
04-11-10 조회 3,908
04-08-23 조회 4,425
04-08-09 조회 5,072
04-08-08 조회 4,809
04-08-05 조회 6,608
03-09-26 조회 5,262