标签:var pve androi mac xitong rip sys mac os cti
var xitong; checkSystem() function checkSystem() { var u = window.navigator.userAgent, app = window.navigator.appVersion; var isAndroid = u.indexOf(‘Android‘) > -1 || u.indexOf(‘Linux‘) > -1; //g var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 if (isAndroid) { xitong= "android" } if (isIOS) { xitong ="ios"; } };
标签:var pve androi mac xitong rip sys mac os cti
原文地址:https://www.cnblogs.com/liuqingxia/p/12167096.html