Just like pretty much every single web developer out there, I hate IE, regardless of it’s version. IE7 made great leaps and bounds over IE6 but it was still stupidly buggy. How do you get around the annoyances of IE?

The guys over at ie6update.com have a great solution by emulating Internet Explorers information bar and giving users the bait to upgrade to IE7/IE8.

Although I’m all for this idea there are obvious problems here

The majority of users who are still using IE6 are either within corporate networks, where they will more than likely never have the administration rights to upgrade to IE7/IE8 or they are just too stubborn to upgrade to the latest version of IE any way, or they’re of course, using an older version of Windows and can’t be bothered or don’t want to upgrade to the latest OS (I can see why).

The obvious security issues with this method are stated on ie6update.com’s website…

Can I make IE6 Update point to another browser’s website? (i.e. Mozilla Firefox)
While we don’t officially recommend this, you can change the URL that IE6 Update points to by overriding the default URL in the IE6UPDATE_OPTIONS object. For example:

Errr… hello! I can see three things happening here…

  1. A very stupid person will serve the user a URL to a version of IE with malicious code.
  2. If you put this on your website, and it gets hacked (you’ve paid a fucking idiot to code your website) it’s open to exploitation, i.e. your website sends them to redtube under false pretenses and of course you get the blame. Do you really want that?
  3. ie6update.com getting hacked and your website being exploited by malicious code in their JS

So how do you get your users to upgrade to IE without pissing them off?

Give them shit and advise them to upgrade. Although it’s a lot of hassle lots of web developers do this, they create semantic code and progressively enhance it for the nice browsers… (Firefox, Safari, Opera, etc..) and leave the version for IE6 nice and shit and give them a little message to upgrade some where if you really want them to upgrade. A lot of this can be found in CSS Mastery, it’s on page 161, if you don’t have this book go out and buy it, it should be on every front enders book shelf.

Before you do any of this stuff, check out the stats/analytics of your website, you’ll find that there’s a gradual decline of IE6 visitors to your site and that those users are running Windows 2000 / NT who can’t actually upgrade so what’s the point in baiting them into upgrading? I know that less than 16% of my visitors are on IE6 and most of them aren’t on an OS that supports IE7+, even though there aren’t many of them I’d definitely hate to piss them off!

At the end of the day you’re creating a website for your users/visitors, not you. If your browser requirements are for IE6 and up, deal with it, use conditional comments to pull in the stylesheets for IE6/IE7, don’t hack your way through. A lot of companies are only JUST dropping support for IE 5.X, it’s going to take a very long time for developers to gradually stop developing for IE6.

To me this is counter productive as every time some one who DOESN’T or CAN’T upgrade and visits your website gets a message telling to upgrade will eventually get annoyed and go away, this is just as bad as adding alert(‘Fuck Off’); to every page.