1// JavaScript Document 2 3function myBrowser() { 4 var userAgent = navigator.userAgent; 5 var isOpera = userAgent.indexOf("Opera") > -1; 6 var isIE = userAgent.indexOf("compatible") > -1 7 && userAgent.indexOf("MSIE") > -1 && !isOpera; 8 var isEdge = userAgent.indexOf("Edge") > -1; 9 var isFF = userAgent.indexOf("Firefox") > -1; 10 var isSafari = userAgent.indexOf("Safari") > -1 11 && userAgent.indexOf("Chrome") == -1; 12 var isChrome = userAgent.indexOf("Chrome") > -1 13 && userAgent.indexOf("Safari") > -1; 14 15 if (isIE) { 16 var reIE = new RegExp("MSIE (\\d+\\.\\d+);"); 17 reIE.test(userAgent); 18 var fIEVersion = parseFloat(RegExp["$1"]); 19 if (fIEVersion == 7) { 20 return "IE7"; 21 } else if (fIEVersion == 8) { 22 return "IE8"; 23 } else if (fIEVersion == 9) { 24 return "IE9"; 25 } else if (fIEVersion == 10) { 26 return "IE10"; 27 } else if (fIEVersion == 11) { 28 return "IE11"; 29 } else { 30 return "0"; 31 }//IEçæ¬è¿ä½ 32 return "IE"; 33 } 34 if (isOpera) { 35 return "Opera"; 36 } 37 if (isEdge) { 38 return "Edge"; 39 } 40 if (isFF) { 41 return "FF"; 42 } 43 if (isSafari) { 44 return "Safari"; 45 } 46 if (isChrome) { 47 return "Chrome"; 48 } 49} 50 51var llqtype=myBrowser(); 52if (llqtype!="Chrome"){ 53 if (llqtype!="Safari"){ 54 if (llqtype!="Edge"){ 55 if (llqtype!="FF"){ 56 alert('ä½ çæµè§å¨çæ¬è¿ä½ï¼å¯è½æ æ³æ£å¸¸æµè§æ¬ç«ï¼å»ºè®®ä½ å¨ææºæµè§å¨æå¼æ¬ç«,æä¸è½½ãè°·ææµè§å¨ãæå¼ï¼'); 57 } 58 } 59} 60}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.