Here is the piece of Javascript code that will target Google Chrome 14 and later
var isChrome = !!window.chrome && !!window.chrome.webstore;