|
|
|
|
Navigator onLine Property
:
- ¶ ȯ (Ʈũ )
- б (read-only) Ӽ
Browser Support
|
[ڵ]
|
|
|
if
(navigator.onLine
=
=
false)
{
alert(
" Ʈũ Ǿ ʽϴ."
)
;
}
|
|
|
|
[]
JavaScript DOM Navigator
: ٷ ü
[navigatorü Ӽ]
appCodeName : ڵ
appName :
appVersion : Ȯ
cookieEnabled : Ű 밡
language : Ǵ
onLine : ¶ Ȯ
platform : ÷
userAgent : Ǵ user-agent
product :
|
[ڵ]
|
|
|
var txt
=
""
;
txt
+
=
"<p>Browser CodeName: "
+
navigator.appCodeName
+
"</p>"
;
txt
+
=
"<p>Browser Name: "
+
navigator.appName
+
"</p>"
;
txt
+
=
"<p>Browser Version: "
+
navigator.appVersion
+
"</p>"
;
txt
+
=
"<p>Cookies Enabled: "
+
navigator.cookieEnabled
+
"</p>"
;
txt
+
=
"<p>Browser Language: "
+
navigator.language
+
"</p>"
;
txt
+
=
"<p>Browser Online: "
+
navigator.onLine
+
"</p>"
;
txt
+
=
"<p>Platform: "
+
navigator.platform
+
"</p>"
;
txt
+
=
"<p>User-agent header: "
+
navigator.userAgent
+
"</p>"
;
txt
+
=
"<p>User-agent header: "
+
navigator.product
+
"</p>"
;
document.write(txt)
;
|
|
|
=> ũҿ ȭ :
|
|
|
|
|
|
|
|
|
|
|
ϱ
|
ϱ
|
|
|
|
|
|
|