玫瑰余香000 2013-05-30
functionisTrueIE(){
if(navigator.userAgent.indexOf("MSIE")>0){
//ie内核
if(navigator.userAgent.indexOf("TabletPC")>0){
//x64纯ie
returntrue;
}
elseif(navigator.userAgent.indexOf("Maxthon")>0||navigator.userAgent.indexOf("SE")>0||
navigator.userAgent.indexOf("360")>0||navigator.userAgent.indexOf("QQ")>0||
navigator.userAgent.indexOf("Trident")>0){
//IE内核非IE浏览!
returnfalse;
}
else{
//x32纯ie
returntrue;
}
}
returnfalse;
}