Check out the Latest Articles:

internet_explorerAs a Web Developer I have stopped giving support to clients for Internet Explorer 6. Recently I was analysing the traffic on my social networking website (for those who don’t know I recently launched a social networking website exclusive for people in Hyderabad, its Wakaao!) and to my surprise about 30% of people visiting my social networking website are are still use the old is(not) gold Internet Explorer 6. I guess this can be either because

  • They are using a public PC which as the first version of Windows XP
  • Or Inadequate Computer knowledge to upgrade or install other browsers
  • Or Are lazy and probably not intamated about the buggy and insecure web browser.

What ever the case may be, the problem is that my website has 1-2 rendering issues with IE6. Though I use a separate stylesheet for IE6 but I want to end up dealing with this IE6. Working with IE6 is a huge burden. So I wanted a simple jQuery powered modal box to pop up and tell them if they are using IE 6.

This is a simple function that can help you get the version of your browser. It returns the browser version for Internet Explorer and for others it returns -1.

function vIE() {
// returns version for IE or -1 for other browsers
return (navigator.appName=='Microsoft Internet Explorer')?parseFloat((new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})")).exec(navigator.userAgent)[1]):-1;
}

Thanks to Marc Palau who commented this at The Future of Web

You can also detect Internet Explorer using jQuery

Related posts:

  1. The Internet – Misconceptions Explained
  2. 8 Essential Things to Check your Website for
  3. 10 Simple ways to protect and secure your PC from Internet Threats
  4. The Simplest Way to Create a Cross Browser Compatiable Website
  5. 7 Reasons Why Social Media Traffic Suck


  1. It‘s quite in here! Why not leave a response?