You could also just use conditional comments: <!--[if IE 6]> <script src="http://path_to_ie_specific_script.js" type="text/ javascript"></script> <![endif]-->
or set a style within the comments and detect that. On Jul 15, 8:59 am, w1ntermut3 <ben.r.ca...@googlemail.com> wrote: > Thank you :) > > I'm trying to do a browser detection for client reasons :( > > They don't want to spend the money on coding IE6 fixes in, they're > as... frustrated... with IE6 as we are, and have instructed us that > any visitor reaching the site through it should be presented with a > message of love, appreciation and alternative browsers. > > Hence my efforts to knock together a script that would direct any IE6 > users to an alternative landing page.