[JavaScript] js判断是否是ie6浏览器 →→→→→进入此内容的聊天室

来自 , 2019-08-17, 写在 JavaScript, 查看 134 次.
URL http://www.code666.cn/view/7d4ba700
  1. //Pure JavaScript, no framework - NOTE: this must be placed in an onLoad event or after the body has loaded or it will result in an error
  2. if(typeof document.body.style.maxHeight === "undefined") {
  3.         alert('IE6 Detected');
  4. }
  5.  
  6. //jQuery syntax - Note that the browser method is now deprecated in favor of feature detection through the support method
  7. if (($.browser.msie) && ($.browser.version == "6.0")){
  8.         alert('IE6 Detected');
  9. }
  10. //javascript/5132

回复 "js判断是否是ie6浏览器"

这儿你可以回复上面这条便签

captcha