N
News
I have a page up trying to learn how to ID a browser and other info.
http://wyght.com/warren/testPos.html
here is the code
<script type = "text/javascript">
var space = ", ";
var name = navigator.appName;
var codename = navigator.appCodeName;
var version = navigator.appVersion.substring(0,4);
var platform = navigator.platform;
var MyjavaEnabled = navigator.javaEnabled();
var screenWidth = screen.width;
var screenHeight = screen.height;
document.writeln("<BR>"+name+space+codename+space+"<BR>");
document.writeln("<BR>"+version+space+platform+space+"<BR>");
document.writeln("<BR>"+MyjavaEnabled+"<BR>"+screenWidth+space+"<BR>");
document.writeln("<BR>"+screenHeight+space+"<BR>");
</script>
I can see no way of knowing if it is a firefox or netscape browser is that
posible?
Also, when I print out the var "codename" in IE 6 it says Mozilla. What is
up with that?
http://wyght.com/warren/testPos.html
here is the code
<script type = "text/javascript">
var space = ", ";
var name = navigator.appName;
var codename = navigator.appCodeName;
var version = navigator.appVersion.substring(0,4);
var platform = navigator.platform;
var MyjavaEnabled = navigator.javaEnabled();
var screenWidth = screen.width;
var screenHeight = screen.height;
document.writeln("<BR>"+name+space+codename+space+"<BR>");
document.writeln("<BR>"+version+space+platform+space+"<BR>");
document.writeln("<BR>"+MyjavaEnabled+"<BR>"+screenWidth+space+"<BR>");
document.writeln("<BR>"+screenHeight+space+"<BR>");
</script>
I can see no way of knowing if it is a firefox or netscape browser is that
posible?
Also, when I print out the var "codename" in IE 6 it says Mozilla. What is
up with that?