1. var isIE=!!window.ActiveXObject;
  2. var isIE6=isIE&&!window.XMLHttpRequest;
  3. var isIE8=isIE&&!!document.documentMode;
  4. var isIE7=isIE&&!isIE6&&!isIE8;
  5. if (isIE){
  6. if (isIE6){
  7. alert("ie6");
  8. }else if (isIE8){
  9. alert("ie8");
  10. }else if (isIE7){
  11. alert("ie7");
  12. }

最新文章

  1. linux 下串口独占方式打开
  2. codeforces Diagrams & Tableaux1 (状压DP)
  3. eval()与jQuery.parseJSON()的差别以及常见的解析缺少分号的问题
  4. CPU相关信息
  5. Asp.Net部分面试题
  6. linux 双网关双IP设置
  7. mul16
  8. MyBatis CRUD Java POJO操作
  9. MySql 事务与锁
  10. CTF---密码学入门第七题 杯酒人生
  11. SpringCloud的Archaius - 动态管理属性配置
  12. Android Studio基本配置
  13. SQL Server - JOIN
  14. google colab 使用指南
  15. Pointcut 笔记
  16. FlowNet2.0 安装指南
  17. Asp.net 与 UCenter 用户同步之实施过程
  18. 2的n次方用c语言怎么表示
  19. centos 7 安装iptables防火墙
  20. pdf.js 使用汇总

热门文章

  1. 右键快捷打开Git Bash here失败
  2. FATE HDU - 2159
  3. CentOS 6 Yum本地源配置
  4. 【Codeforces 682C】Alyona and the Tree
  5. 【Codeforces 1091D】New Year and the Permutation Concatenation
  6. Css学习总结(3)——CSS布局解决方案 - 水平、垂直居中、多列布局、全屏布局
  7. cocos2dx 2.1.x 退出SDK相关界面后EGLView 不刷新渲染
  8. 洛谷 P3203 BZOJ 2002 [Hnoi2010]Bounce 弹飞绵羊
  9. XOR的艺术
  10. 一些非常有用的工具类之javamail(from韩顺平)