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
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。