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 use navigator.userAgent for this. Just see if it contains Mozilla
navigator.userAgent