I'm trying to use this line to detect browser type: IE or Firefox.
alert(isBrowser("Microsoft"));
but I get absolutely nothing, the alert doesn't even pop up. Not sure what I'm doing wrong.
What would be the best practice way to detect browser type?