360安全浏览器主要是使用了IE的内核。360只是个壳儿,判断不出来。只能判断到是不是IE的内核。用
if(window.navigator.userAgent.indexOf("MSIE") > -1){
//是IE内核
}else{
//不是IE内核
}
function checkIs360(){
var is360 = false;
var isIE = false;
if (window.navigator.appName.indexOf("Microsoft") != -1){
isIE= true;
}
if(isIE&&(window.navigator.userProfile+'')=='null'){
is360 = true;
}
if(is360)return true;
else return false;
}