I\'ve been searching around for code that would let me detect if the user visiting the website has Firefox 3 or 4. All I have found is code to detect the type of browser but
Look at navigator.userAgent - Firefox/xxx.xxx.xxx is specified right at the end.
navigator.userAgent
Firefox/xxx.xxx.xxx