How to detect Firefox in JavaScript? I want to detect all versions of Firefox.
This works perfect for IE,Firefox and Chrome.