Posts Tagged flex_ExternalInterface

Flex – check browser is Firefox or not?

var userAgent:Object = ExternalInterface.call(“function() { return navigator.userAgent; }”);

if (userAgent != null && String(userAgent).indexOf(“Firefox”) > -1) {
                    //browser is Firefox
 }

Advertisements

,

Leave a comment