I have a web CMS that I am setting up for some of my clients... I have added a couple new WYSIWYG features that only work with Firefox or IE 6+ browsers.

Does anybody know where I can find a Javascript that will detect if my users are using a browser other than FF or IE and redirect them to an error page?

I have found some little bits and pieces through google but nothing that is quite what I am looking for.