首页 > 代码库 > js获取本机id

js获取本机id

1 var hostname = location.hostname;
2  window.location.href="http://"+hostname+":8080/zhiban/aftweibo.jsp";