http://fason.nease.net/code/js/other/sys.htm系統的一部分,不是很准,沒有你所說的

解决方案 »

  1.   

    可以,不过只能在Win2000或更高系统上实现,具体代码在microsoft网站上有祥述
      

  2.   

    <script language=javascript> 
    var WshShell =new ActiveXObject("WScript.Shell"); 
    alert(WshShell.ExpandEnvironmentStrings("%COMPUTERNAME%")); 
    //这一句是用来得到用户的计算机名称 
    alert(WshShell.ExpandEnvironmentStrings("%USERNAME%")); 
    //这一句是用来得到用户名 
    </script>但是有安全提示的...
      

  3.   

    IP地址,机器名.
    <script> 
    alert(location.host) 
    alert(location.hostname) 
    </script> 内存啊,硬盘啊,无法得到吧...不过,如果能读取注册表的话,可能可以得到.
    但是,都会有安全提示的...