随笔分类 -  兼容问题

摘要:```js function getExplorer() { var explorer = window.navigator.userAgent; //ie if (explorer.indexOf("MSIE") >= 0) { return "IE"; } //firefox else if (explorer.indexOf... 阅读全文
posted @ 2019-04-18 17:30 十年后2028 阅读(120) 评论(0) 推荐(0)
摘要:不同浏览器对document.documentElement和document.body的scrollheight ,scrollTop,clientHeight以及判断滚动条是否滚动到页面最底部 https://www.cnblogs.com/hsprout/p/4998694.html 阅读全文
posted @ 2019-01-30 15:05 十年后2028 阅读(104) 评论(0) 推荐(0)
摘要:手机版不缩放 用最高版本的edeg渲染页面,如果ie安装了chrome frame就用chrome模式渲染页面 解释 https://blog.csdn.net/u010505097/article/details/52396595 · 当有双内核时使用谷歌内核 阅读全文
posted @ 2019-01-23 21:01 十年后2028 阅读(186) 评论(0) 推荐(0)
摘要:方法一 方法二 阅读全文
posted @ 2018-12-15 11:24 十年后2028 阅读(151) 评论(0) 推荐(0)
摘要:ie8 video无法播放视频 判断用户是否用ie浏览器(兼容ie8 ie11) 判断用户是否缩放 阅读全文
posted @ 2018-11-23 10:44 十年后2028 阅读(168) 评论(0) 推荐(0)