1/*-------------------------------------------------------------------------------------------- 2os decision 3--------------------------------------------------------------------------------------------*/ 4$(function(){ 5 6 //windowså¤å® 7 var isIE = false; // IEãå¦ã 8 var ie11version = null; // IEã®ãã¼ã¸ã§ã³ 9 var ua = navigator.userAgent; 10 11 if( ua.match(/MSIE/) || ua.match(/Trident/) ){ 12 isIE = true; 13 ie11version = Math.floor(ua.match(/(MSIE\s|rv:)([\d\.]+)/)[2]); 14 } 15 16 if(navigator.platform.indexOf('Win') != -1) $('div, p, h1').css('font-style', 'normal'); 17 18 IE6 = (navigator.userAgent.indexOf("MSIE 6") >= 0) ? true : false;// ie6 å¤å® 19 IE7 = (navigator.userAgent.indexOf("MSIE 7") >= 0) ? true : false;// ie7 å¤å® 20 IE8 = (navigator.userAgent.indexOf("MSIE 8") >= 0) ? true : false;// ie8 å¤å® 21 IE9 = (navigator.userAgent.indexOf("MSIE 9") >= 0) ? true : false;// ie9 å¤å® 22 IE10 = (navigator.userAgent.indexOf("MSIE 10") >= 0) ? true : false;// ie10 å¤å® 23 IE11 = (ie11version == 11) ? true : false;// ie11 å¤å® 24 25 if(IE11){ $('body').addClass("ie11"); $('body').addClass("ie11lt");} 26 else if(IE10){ $('body').addClass("ie10"); $('body').addClass("ie11lt"); $('body').addClass("ie10lt");} 27 else if(IE9){ $('body').addClass("ie9"); $('body').addClass("ie11lt"); $('body').addClass("ie10lt"); $('body').addClass("ie9lt");} 28 else if(IE8){ $('body').addClass("ie8"); $('body').addClass("ie11lt"); $('body').addClass("ie10lt"); $('body').addClass("ie9lt"); $('body').addClass("ie8lt");} 29 else if(IE7){ $('body').addClass("ie7"); $('body').addClass("ie11lt"); $('body').addClass("ie10lt"); $('body').addClass("ie9lt"); $('body').addClass("ie8lt"); $('body').addClass("ie7lt");} 30 else if(IE6){ $('body').addClass("ie6"); $('body').addClass("ie11lt"); $('body').addClass("ie10lt"); $('body').addClass("ie9lt"); $('body').addClass("ie8lt"); $('body').addClass("ie7lt"); $('body').addClass("ie67lt");} 31 else{ $('body').addClass("notie");} 32 33});
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.