How to inform users that webapplication does not support IE6

Help rid the world of IE6 with one line of javascript!


Update:
In case of IE6 users with JavaScript turned off, you can use a conditional comment. (graceful degradation)

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

image
(source: googlecode.com)


I would probably use a conditional comment to show a bar or a box in clear view of the user on the page. JavaScript/Meta redirection is usually rather 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 however you like then. I recommend a big bold bar at the top of your page that is stuck even when scrolling, turn off javascript and refresh a stack overflow page for an example.

If you're insistent on the JS method, try this script from Quirksmode for detecting the browser and the version, then use window.location.replace(newUrl) for the redirection.


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