Title: Super Browser Detector
Author: WP Academic
Published: <strong>16 Oktober 2016</strong>
Last modified: 26 Mac 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/user-agent-body-class.svg)

# Super Browser Detector

 Oleh [WP Academic](https://profiles.wordpress.org/eastsidecode/)

[Download](https://downloads.wordpress.org/plugin/user-agent-body-class.zip)

 * [Details](https://ms.wordpress.org/plugins/user-agent-body-class/#description)
 * [Reviews](https://ms.wordpress.org/plugins/user-agent-body-class/#reviews)
 *  [Pemasangan](https://ms.wordpress.org/plugins/user-agent-body-class/#installation)
 * [Pembangunan](https://ms.wordpress.org/plugins/user-agent-body-class/#developers)

 [Support](https://wordpress.org/support/plugin/user-agent-body-class/)

## Description

Super Browser Detector adds PHP user agent information to the body class to help
target specific devices, browsers, and operating systems with CSS.

Major features in User Agent Body Class include:

 * Adds user browser and operating system information as a string to the body class.

## Installation

Upload Super Browser Detector folder to your blog, then Activate it.

## Reviews

![](https://secure.gravatar.com/avatar/7f7650774f7b0b33254bb41df7d4406daa3cd5df27dff63a8fd3f8f1ef1bfb3b?
s=60&d=retro&r=g)

### 󠀁[Great for PHP, not for cacheing](https://wordpress.org/support/topic/great-for-php-not-for-cacheing/)󠁿

 [samuelcrowe13](https://profiles.wordpress.org/samuelcrowe13/) 25 April 2019

This plugin is great as it provides the PHP command lines for identifying browsers
and using if commands. It’s not a great plugin for cacheing when using plugins such
as W3 Total Cache, especially with memcache, as it stores .browser-gecko and .os-
linux on the server. It’s better used as inline-PHP standalone commands: $userAgent
= $_SERVER[‘HTTP_USER_AGENT’]; if($is_safari) { echo ‘safari item’; } elseif($is_chrome){
echo ‘chrome item’; } It’s super helpful for providing these tags however, especially
since these lines of code will transcend version updates for the foreseeable future,
and it will work fantastic with a non-cacheing website.

![](https://secure.gravatar.com/avatar/f48c064625fd6a7e1238f62b64b0297f9394cbbfd067bdda6f241311ae369445?
s=60&d=retro&r=g)

### 󠀁[Great Solution for Targeted CSS](https://wordpress.org/support/topic/great-solution-for-css/)󠁿

 [Dru K](https://profiles.wordpress.org/dsgncr8or/) 26 Februari 2018

A great solution for targeting specific browser types and software… and appreciate
the simple code.

![](https://secure.gravatar.com/avatar/243de6e8740d03b3fc00f272fbd146557a494cf52785cf850b0a503e5af3b06c?
s=60&d=retro&r=g)

### 󠀁[Does what I needed](https://wordpress.org/support/topic/does-what-i-needed-10/)󠁿

 [dbrown12](https://profiles.wordpress.org/dbrown12/) 17 Oktober 2016

Does exactly what it says. Super helpful for writing browser-specific CSS.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/user-agent-body-class/reviews/)

## Contributors & Developers

“Super Browser Detector” adalah perisian sumber terbuka. Orang-orang berikut telah
menyumbang kepada pemalam ini.

Penyumbang

 *   [ WP Academic ](https://profiles.wordpress.org/eastsidecode/)
 *   [ Louis ](https://profiles.wordpress.org/louis/)

[Translate “Super Browser Detector” into your language.](https://translate.wordpress.org/projects/wp-plugins/user-agent-body-class)

### Berminat dalam pembangunan?

[Layari kod](https://plugins.trac.wordpress.org/browser/user-agent-body-class/),
periksa [repositori SVN](https://plugins.svn.wordpress.org/user-agent-body-class/),
atau langgani [log pembangunan](https://plugins.trac.wordpress.org/log/user-agent-body-class/)
dengan [RSS](https://plugins.trac.wordpress.org/log/user-agent-body-class/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

_Release Date – 26 March 2020_
 * Adds support for new Chromium Edge thanks to my
friend Jan!

#### 1.1

_Release Date – 28 November 2017_
 * Adds support for Edge

#### 1.0

_Release Date – 28 September 2016_
 * Initial release

## Meta

 *  Version **1.1**
 *  Last updated **6 tahun lalu**
 *  Active installations **200+**
 *  WordPress version ** 4.3 or higher **
 *  Tested up to **5.2.24**
 *  Language
 * [English (US)](https://wordpress.org/plugins/user-agent-body-class/)
 * Tags
 * [browser detect](https://ms.wordpress.org/plugins/tags/browser-detect/)[php](https://ms.wordpress.org/plugins/tags/php/)
   [user agent](https://ms.wordpress.org/plugins/tags/user-agent/)
 *  [Paparan Lanjutan](https://ms.wordpress.org/plugins/user-agent-body-class/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/user-agent-body-class/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/user-agent-body-class/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/user-agent-body-class/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/user-agent-body-class/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/user-agent-body-class/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/user-agent-body-class/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/user-agent-body-class/reviews/)

## Penyumbang

 *   [ WP Academic ](https://profiles.wordpress.org/eastsidecode/)
 *   [ Louis ](https://profiles.wordpress.org/louis/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/user-agent-body-class/)