<script type=“text/javascript”> function isIE(){return navigator.appName.indexOf(“Microsoft Internet Explorer”)!=-1 && document.all;} function isIE6() {return navigator.userAgent.split(“;”)[1].toLowerCase().indexOf(“msie 6.0″)==“-1″?false:tr…
//电脑版头部写法:<script language="javascript"> function is_mobile() { var regex_match = /(nokia|iphone|android|motorola|^mot-|softbank|foma|docomo|kddi|up.browser|up.link|htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfai…
browserVersion:function(){ var explorer = window.navigator.userAgent; if (explorer.indexOf("MSIE") >= 0) {// ie10及以下 var b_version = navigator.appVersion; var version = b_version.split(";"); version = version[1].replace(/[ ]/g, &quo…