//判断浏览器版本是否过低 var ua = navigator.userAgent.toLowerCase(); if (window.ActiveXObject) var IEversion = ua.match(/msie ([\d.]+)/)[1]; if (IEversion < 8) location.href = "/static/kill-ie.html"; 浏览器版本低于8以下就跳到kill-ie.html…
<script type="text/javascript"> /*判断浏览器版本是否过低*/ $(document).ready(function() {s var b_name = navigator.appName; var b_version = navigator.appVersion; var version = b_version.split(";"); var trim_version = version[1].replace(/[ ]/…
javascript——处理(获取)浏览器版本.操作系统 /** * Created by Administrator on 15-1-12. */ function BroswerUtil() { } BroswerUtil = { //检测浏览器版本 getBrowserVersion: function () { var agent = navigator.userAgent.toLowerCase(); var arr = []; var Browser = ""; var B…