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