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