How to tell users that the web application does not support IE6

I have a web application and I really don't care about IE6 users. However, I would like to have some feature that will inform users that they are using IE6 and that their browser is not supported. I was thinking of two possible solutions:

  • A pop-up window (possibly Javascript) with text informing the user on every page he visits.
  • on some special information page, this user will be redirected whenever he tries to access my application

Both solutions will be sufficient, but I would prefer the second. You probably need to use some kind of magical javascript, can anyone please satisfy this solution?

+6
javascript internet-explorer-6
source share
6 answers

I would probably use a conditional comment to show a panel or window that clearly shows the user on the page. JavaScript / metadata redirection is usually quite annoying for everyone involved.

<!--[if IE 6]> <div id="IE6Div">This Web Application does not support Internet Explorer 6. Click <a href="/noIE6.htm">here</a> for more information.</div> <![endif]--> 

You can style it as you like. I recommend a large, bold bar at the top of the page that gets stuck even when scrolling, disabling JavaScript, and refreshing the page for example.

If you insist on a JS method, try this script from Quirksmode to discover the browser and version, then use window.location.replace(newUrl) to redirect.

+6
source share

Help rid the world of IE6 with a single line of JavaScript!


Update:
For IE6 users with JavaScript disabled, you can use conditional comment. (graceful degradation)

 <!--[if IE 6]> <span> THIS WEBSITE DOES NOT SUPPORT Internet Explorer 6. PLEASE UPGRADE. </span> <![endif]--> 

image
(source: googlecode.com )

+10
source share

Redirect users to http://ie6funeral.com/ .

+2
source share

I think this is a good solution: http://www.ie6update.com/

It shows a message to IE6 visitors that looks like IE Bart's own information, but instead of offering the ActiveX plugin, it offers a browser update.

All you have to do is include a small piece of js code on your website.

+1
source share

I would go with 2. The point is that you can optimize this page to perform well on IE 6 - and this is not a popup.

0
source share

Use a conditional comment that is usually used only in any case.

 <!--[if lte IE 6]> <SCRIPT LANGUAGE="Javascript"> window.location = 'new page'; </SCRIPT> <![endif]--> 

Of course, I would not use JavaScript, because if it is disabled, it will not do anything , I would use the meta update and put it in the head.

0
source share

All Articles