PDA

View Full Version : How to detect browser FireFox vs IE


mmgTony
08-25-2008, 04:56 PM
Its seems FireFox displays graphics and/or Flash differently from IE.

I'm trying to detect which browser is being used by user so I can switch between different graphics on main screen.

is there a way to detect browser from vB 3.7.2 code?

Dismounted
08-26-2008, 07:40 AM
You can use the vBulletin function is_browser().

UaECasher
08-26-2008, 09:42 AM
or use google analytics

Dismounted
08-26-2008, 11:30 AM
Google Analytics needs Javascript enabled - the is_browser() function does not.