Detect whether browser is IE 7 or lower?

后端 未结 6 2029
萌比男神i
萌比男神i 2020-12-15 07:46

So i am going to add a redirect to my site to toss every one that is using ie 7 or lower off to a different page and came up with this JavaScript, but it seems to have stopp

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-15 08:20

    Conditional comments (as suggested by @Kon) are the way to go. Here's a working implementation:

    
    
    
    
    
    

提交回复
热议问题