浏览器版本低于IE10跳转到指定网页
2024-08-22 19:51:33
var userAgent = navigator.userAgent;
var ie6 = (/msie\s*(\d+)\.\d+/g.exec(userAgent.toLowerCase()) || [0, "0"])[1] == "6",
ie7 = userAgent.indexOf('MSIE 7.0') > -1,
ie8 = userAgent.indexOf('MSIE 8.0') > -1;
ie9 = userAgent.indexOf('MSIE 9.0') > -1;
if (ie6 || ie7 || ie8 || ie9){
window.location.href = 'http://e.jikexueyuan.com/browser.html';
}
极客学院官网copy下来的
最新文章
- Python迭代器,可迭代对象,生成器
- VMware Player安装Debian系统
- win7下virtualbox装linux共享win7文件问题(已测试可用)
- apue第六章学习总结
- lintcode:Palindrome Partitioning 分割回文串
- Calculate Number Of Islands And Lakes 解答
- NET ERP系统架构设计
- maven插件报错之解决
- Android Weekly Notes Issue #248
- ionic3 打包 混淆代码
- LeetCode--031--下一个排列(java)*
- iOS:类似于网易云音乐的刷新条目显示弹框
- Java基础(四)线程快速了解
- LInux系统木马植入排查分析 及 应用漏洞修复配置(隐藏bannner版本等)
- 【Math】根据置信度、样本数相关推导过程
- weblogic修改安装路径教程
- BZOJ2194: 快速傅立叶之二(NTT,卷积)
- Intel大坑之一:丢失的SSE2 128bit/64bit 位移指令,马航MH370??
- ASP.NET MVC4 新手入门教程之三 ---3.添加视图
- bzoj 4568 [SCOI 2016] 幸运数字
热门文章
- 线程池ThreadPoolExcecutor介绍
- ZOJ - 3861 Valid Pattern Lock 【全排列】
- 如何浏览github上所有的公开的项目?
- Spring Boot2.0之整合事物管理
- plugin scala is incompatible with current installation
- 使用chrome的F12开发人员工具进行网页前端性能测试
- Log4j 与 logback对比、及使用配置
- Meta viewport 学习整理
- Python: scikit-image canny 边缘检测
- 1053 Path of Equal Weight (30)(30 分)