浏览器判断

 

ie678=!+"\v1";
ie678=!-[1,];
ie678='\v'=='v';
ie678=('a-b'.split(/(~)/))[1]=="b"
ie678=0.9.toFixed(0)=="0"
ie678=/\w/.test('\u0130') 
ie8=window.toStaticHTML
ie9=window.msPerformance
ie678=0//@cc_on+1;
ie67=!"1"[0] //利用IE6或IE5的字符串不能使用数组小标的特征
ie8=!!window.XDomainRequest;
ie9=document.documentMode&&document.documentMode===9;
ie10 = window.navigator.msPointerEnabled;
ie11 = !!window.MSInputMethodContext;


!+"\v1" || document.documentMode&&document.documentMode===9 6、7、8、9、为true

 

posted @ 2014-12-09 14:03  幹掉上帝  阅读(194)  评论(0编辑  收藏  举报