Browser Detect



3rd Party (Free)

EE Version Support

  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



ExpressionEngine plugin which detects browser and browser families based on HTTP_USER_AGENT.


There are a few similar plugins floating around out in the wild, some of which detect a larger number of browsers.

I’ve tailored this plugin for my own particular needs, with a focus on identifying Internet Explorer versions, while limiting Webkit/Gecko/Presto detection to popular browsers only. I simply have no need to identify browsers like Camino, MicroB, or iCab, and am okay with these being reported by their WebKit and Gecko fallbacks.

If you need more granular detection for obscure browsers, feel free to fork this plugin or look at some of the other options out there.


Copy the “browser_detect” folder to your /system/expressionengine/third_party folder.


Use the {exp:browser_detect:browser} tag to output browser identifier.

Use the {exp:browser_detect:family} tag output browser family.

Generally speaking, I tend to use this plugin in conjunction with standard EE conditionals to control the loading of browser specific stylesheets and javascript.


{if '{exp:browser_detect:browser}' == 'IE8'}
{if '{exp:browser_detect:family}' == 'IE'}


Internet Explorer

  • IE11 (relies on Trident/7.0 in user agent string for the time being)
  • IE10
  • IE9
  • IE8
  • IE7
  • IE6
  • IE (used as a fallback)


  • Crome
  • Safari
  • iPad (Safari)
  • iPhone (Safari)
  • WebKit (used as a fallback)


  • Firefox
  • Gecko (used as a fallback)


  • Presto (all Opera/Presto browsers will return Presto)

Browser Detect Links

This entry was created April 29, 2014, 9:25 am.
This entry was last updated May 7, 2014, 10:29 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

1 Review:

mcfarlan 04.29.14

Rating - {addon_rating_average}

Great utility that makes it super easy to target families of browsers. Indispensable for all projects.