//******************************************************************/
//getEnvSystem()
//获得操作系统名称
//******************************************************************/
function getEnvSystem(){
var pos = navigator.appVersion.lastIndexOf(";")
return navigator.appVersion.substring(pos+1,navigator.appVersion.length-1);
}
阅读(757) | 评论(1) | 转发(0) |
//getEnvSystem()
//获得操作系统名称
//******************************************************************/
function getEnvSystem(){
var pos = navigator.appVersion.lastIndexOf(";")
return navigator.appVersion.substring(pos+1,navigator.appVersion.length-1);
}
相关热门文章
给主人留下些什么吧!~~
评论热议
本文介绍了一种使用JavaScript来获取客户端操作系统的名称的方法。通过分析navigator.appVersion属性,可以提取出操作系统的信息。
2140

被折叠的 条评论
为什么被折叠?



