3.navigator
例 1.3(navigatorIEFF.html)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
for(var p in navigator)
{
/*Window.navigator (Property)
A reference to a navigator object that describes the browser.*/
document.write("属性"+p+"的属性值为:"+navigator[p]+"<br>");
}
//-->
</SCRIPT>
</BODY>
</HTML>
更多内容请见原文,文章转载自:https://blog.csdn.net/qq_43650923/article/details/103042952
相关文章
- 11-03MapReduce当中Partitioner的用法
- 11-03Scala当中parallelize并行化的用法
- 11-03MapReduce当中Combiner的用法
- 11-03MapReduce当中的reduce当中的cleanup的用法
- 11-03PhoneGap中navigator.notification.confirm的用法详解
- 11-03jquery当中toggleClass的用法
- 11-03Spark Scala当中reduceByKey的用法
- 11-03jquery当中append的用法
- 11-03【JavaScript流程控制语句的用法及练习】
- 11-03Javascript的console.log()用法