通过Js获取浏览器信息Navigator 对象包含有关浏览器的信息。Navigator 对象属性和方法:IE的测试结果:FireFox的测试结果:获取具体IE版本号:Java代码functioncheckIEVersion(){varua=navigator.userAgent;vars="MSIE...
分类:
其他好文 时间:
2015-05-07 00:31:07
阅读次数:
117
网页可见区域宽:document.body.clientWidth网页可见区域高:document.body.clientHeight网页可见区域宽:document.body.offsetWidth (包括边线和滚动条的宽)网页可见区域高:document.body.offsetHeight(包括...
分类:
Web程序 时间:
2014-09-26 22:58:58
阅读次数:
250
var txt = "Browser CodeName: " + navigator.appCodeName + "";
txt+= "Browser Name: " + navigator.appName + "";
txt+= "Browser Version: " + navigator.appVersion + "";
txt+= "Cookies Enabl...
分类:
Web程序 时间:
2014-06-05 10:09:31
阅读次数:
270