how do you know if its chrome browser in javascript code example Example: how to check if browser is firefox in javascript if ($.browser.mozilla) { ...