标签:
<!DOCTYPE html> <html lang="en"> <head> <script type="text/javascript"> var ua = window.navigator.userAgent; var arr=ua.split("; "); var ie=arr[1].match(/\d/,""); if (ie<8){ window.location.href="http://www.baidu.com"; } </script> <meta charset="UTF-8"> <title>判断ie浏览器的版本</title> </head> <body> </body> </html>
标签:
原文地址:http://www.cnblogs.com/busicu/p/4555204.html