ie11兼容

http://www.4fang.net/content.jsp?id=30537

在Internet Explorer 11中,user-agent 比之前的版本要短很多,而且去掉了最关键的MSIE的关键字

Internet Explorer 11 的 user-agent:

Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko

Internet Explorer 10 的 user-agent (on Windows 7):

Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

上述user-agent你还会注意到增加了Gecko的标识,而Safari是首个标注了Gecko的浏览器

document.all和friends

从IE4 开始,document.all 在IE中举足轻重。比起 document.getElementById() 来说,document.all 是IE方式的获取元素的引用的方法。尽管IE5增加对DOM的支持,但 document.all 一直沿用至IE10。在Internet Explorer 11中document.all 并没有真正被删除,但不推荐使用。

internet选项-高级-启用增强保护模式

字体模糊     使用软件……

原文地址:https://www.cnblogs.com/byayn/p/3689294.html