View Single Post
Old 03-01-2006, 07:19 PM  
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
Quote:
Originally Posted by SmokeyTheBear
Code:
<script>
var browser_type=navigator.appName
var browser_version=parseInt(navigator.appVersion)

//if NS 6
if (browser_typehahahaha"Netscape"&&browser_version>=5){
document.write("your using netscape");
}
//if IE 4+
else if (browser_typehahahaha"Microsoft Internet Explorer"&&browser_version>=4){
document.write("your using ie");
}
//if firefox 1+
else if(navigator.userAgent.indexOf("Firefox") != -1){
document.write("Your using firefox");
}
//if NS4+
else if (browser_typehahahaha"Netscape"&&browser_version>=4)
{
document.write("Your using netscape");
}
//Default goto page (NOT NS 4+ and NOT IE 4+ or firefox)
else
{
document.write("i dunno what your using");
}
</script>

What he said, without the hahahaha

STB
__________________
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote