if(firefox and is on a computer){ alert(\'using firefox on a computer\') }else{ alert(\"using something else!\"); }
How can I do this?
You can make the control with javascript's navigator.userAgent or navigator object in general,
navigator.userAgent
navigator
But if you want to use something ready to go, check this:
http://www.quirksmode.org/js/detect.html
hope this helps, Sinan.