zoukankan
html css js c++ java
判断IE10以下版本以及IE11版本
最近一个项目在做IE兼容的情况下,用IE专属的"msie" 判断在IE11下失效。
原因是IE11的 navigator.userAgent 不再存在“msie”关键字
var ua = navigator.userAgent;
IE10以下:ua.toLowerCase().indexOf("msie")
IE11: (ua.toLowerCase().indexOf("trident") > -1 && ua.indexOf("rv") > -1)
查看全文
相关阅读:
北京,北京
zha男/女的三种境界
不爱和陌生人说话
若风(一)
【leetcode】部分思路整理
【二叉树的遍历】
【剑指offer】部分思路整理
CentOS 7安装MySQL
检查并解决CentOS 7 安装Tomcat是否成功
CentOS 7安装JDK
原文地址:https://www.cnblogs.com/maixi/p/5145776.html
最新文章
babel入门基础
SDRAM 学习(三)之command
parameter localparam define的区别
OV7725学习(二)
OV7725学习之SCCB协议(一)
ROM+VGA 图片显示
vim中插入递增数
SDRAM学习(一)之刷新心得
Normal synchronous FIFO mode 和 Show-ahead synchronous FIFO mode
uart串口的调试学习
热门文章
SDRAM学习(二)之初始化
串联多个脚本执行的脚本
机器学习掌握知识点
获取一个文本某一列
hive中的子查询改join操作(转)
Hive的union和join操作
Linux查看子目录的大小
心痛2018
返校随感
时空随想
Copyright © 2011-2022 走看看