标签:fun aci windows64 index || windows function func test
function OSnow(){ var agent = navigator.userAgent.toLowerCase(); var isMac = /macintosh|mac os x/i.test(navigator.userAgent); if (agent.indexOf("win32") >= 0 || agent.indexOf("wow32") >= 0) { alert("这是windows32位系统"); } if (agent.indexOf("win64") >= 0 || agent.indexOf("wow64") >= 0) { alert("这是windows64位系统"); } if(isMac){ alert("这是mac系统"); } }
标签:fun aci windows64 index || windows function func test
原文地址:https://www.cnblogs.com/zhenguo-chen/p/13159888.html