I have a JavaScript to detect between Netscape version 6& below and IE, is there anything to detect Firefox?
Basically I have two sets of code I want to display. One set for IE and FireFox, another set for old Netscape.
Right now using the code below doesn't work because FireFox somehow registers as Netscape version3.
IS there something like navigator.appName == "FireFox"?
browser = (
((window.navigator.platform == "Win32") && (navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 6 )) ||
((window.navigator.platform == "Win32") && (navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
)
Thanks!!!