var browserName = navigator.appName; var nAgt = navigator.userAgent; if ( (nAgt.indexOf("Trident"))!== -1 ) { // ( ver >= ie7) In MSIE, the true version is after "MSIE" in userAgent if((verOffset=nAgt.indexOf("MSIE"))!== -1){ fullVersion = nAgt.substring(verOffset+5); }else { fullVersion = '11.0'; } if(fullVersion === 5){ fullVersion = "11.0"; } browserName = "IE"; } //if(navigator.appName === "Microsoft Internet Explorer"&&parseInt(navigator.appVersion.split(";")[1].replace(/[ ]/g, "").replace("MSIE",""))<=9){ if(browserName === "IE" && parseInt(fullVersion)<=9){ window.location.replace('browser.html'); } if (!window.location.origin) { window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: ''); } window.docUrl = ''; window.consoleUrl = 'http://my.:1510'; window.casLogoutUrl = 'https://cas./lyuapServer/logout'; window.titleBreakedNum = '_titleBreakedNum'; window.casStatus=true||false; window.cardJS = 'cardJS/ly-cloud-extra-card-ui-vue.js';