if(firefox and is on a computer){ alert(\'using firefox on a computer\') }else{ alert(\"using something else!\"); }
How can I do this?
typeof InstallTrigger !== 'undefined'
It's simple and works well after Quantum but not sure whether this will be future-proof though: https://developer.mozilla.org/en-US/docs/Web/API/InstallTrigger