SyntaxFix
Write A Post
Hire A Developer
Questions
I know it may be overkill to use a lib for that, but just to enrich the thread, you could check is.js way of doing this:
is.firefox(); is.ie(6); is.not.safari();