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