CSS Browser Selector


Ronny-André Bendiksen

3rd Party (Free)

295 downloads (last 90 days)

Creative Commons Attribution Download v1.0

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)



This plugin returns the visitors operating system and browser as CSS browser selectors to use in your HTML.

Basic Usage

The following code returns CSS selectors:

Or you can provide the user agent as a string:
{exp:css_browser_selector agent=“Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)”}

Keep in mind that you can use ExpressionEngine’s own Referrer module variable {ref_agent}:
{exp:css_browser_selector agent=”{ref_agent}”}


If empty, ExpressionEngine will use PHP’s own $_SERVER[‘HTTP_USER_AGENT’] variable.


This is an ExpressionEngine port of Bastian Allgeier’s PHP CSS Browser Selector. (Which is then a port of Rafael Lima’s Javascript CSS Browser Selector.)

Bastian Allgeier

Rafael Lima

Download CSS Browser Selector

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0 Jun 6, 2011

CSS Browser Selector Links

This entry was created June 6, 2011, 9:28 am.
This entry was last updated October 21, 2011, 11:01 pm.

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 devot-ee.com. 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 https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!