js判断ie6的代码
2024-09-03 04:33:30
- var isIE=!!window.ActiveXObject;
- var isIE6=isIE&&!window.XMLHttpRequest;
- var isIE8=isIE&&!!document.documentMode;
- var isIE7=isIE&&!isIE6&&!isIE8;
- if (isIE){
- if (isIE6){
- alert("ie6");
- }else if (isIE8){
- alert("ie8");
- }else if (isIE7){
- alert("ie7");
- }
最新文章
- linux 下串口独占方式打开
- codeforces Diagrams &; Tableaux1 (状压DP)
- eval()与jQuery.parseJSON()的差别以及常见的解析缺少分号的问题
- CPU相关信息
- Asp.Net部分面试题
- linux 双网关双IP设置
- mul16
- MyBatis CRUD Java POJO操作
- MySql 事务与锁
- CTF---密码学入门第七题 杯酒人生
- SpringCloud的Archaius - 动态管理属性配置
- Android Studio基本配置
- SQL Server - JOIN
- google colab 使用指南
- Pointcut 笔记
- FlowNet2.0 安装指南
- Asp.net 与 UCenter 用户同步之实施过程
- 2的n次方用c语言怎么表示
- centos 7 安装iptables防火墙
- pdf.js 使用汇总
热门文章
- 右键快捷打开Git Bash here失败
- FATE HDU - 2159
- CentOS 6 Yum本地源配置
- 【Codeforces 682C】Alyona and the Tree
- 【Codeforces 1091D】New Year and the Permutation Concatenation
- Css学习总结(3)——CSS布局解决方案 - 水平、垂直居中、多列布局、全屏布局
- cocos2dx 2.1.x 退出SDK相关界面后EGLView 不刷新渲染
- 洛谷 P3203 BZOJ 2002 [Hnoi2010]Bounce 弹飞绵羊
- XOR的艺术
- 一些非常有用的工具类之javamail(from韩顺平)