if(firefox and is on a computer){ alert(\'using firefox on a computer\') }else{ alert(\"using something else!\"); }
How can I do this?
if (navigator.userAgent.indexOf("Firefox") != -1) { //some specific code for Mozilla }