Possible Duplicate:
Safe feature-based way for detecting Google Chrome with Javascript?
Using Javascript to detect Google Chrome to switch CSS
Is there a statement that I can use with javascript, to only execute a code if the user is using a browser other than google chrome?
Edit: Not sure how this will effect chrome mobile browser.
Second Edit:
This throws a false positive in Microsoft Edge, the below code is the updated version: