Detect IE7 And Newer Browsers With JavaScript

by Jack 4/4/2008 9:48:00 AM
Here's a neat way to detect IE7 and newer browsers with JavaScript that should be future proof as well:

if (!(window.XMLHttpRequest)) {
//do stuff for IE6 and older browsers here
}

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Category: Web Development

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

9/8/2008 9:48:05 AM

Powered by BlogEngine.NET 1.3.1.0

About Me

Jack And Cheryl At The Seaside I write songs, build websites, play piano...


E-mail me Send mail

Calendar

<<  September 2008  >>
MoTuWeThFrSaSu
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

View posts in large calendar

Pages

Recent posts

Recent comments

  • HACK3D (1)
    Jack wrote: Hey! I'm touched that anyone would bother to hack … [More]

Tags

Don't show

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in