how to check if browser is firefox in javascript code example Example: how to check if browser is firefox in javascript if ($.browser.mozilla) { ...