function getClientPcName() { //"请将您浏览器Internet选项中的“对没有标记为安全的ActiveX控件进行初始化和脚本运行”设置为“启用”!/n/n然后刷新本页登陆!" var WshShellPcName = new ActiveXObject("WScript.Network"); var ComputerName = WshShellPcName.ComputerName ; return ComputerName; } function getClientIp() { var WshShellIp = new ActiveXObject("rcbdyctl.Setting"); var ip = WshShellIp.GetIPAddress; return ip; }