This plugin hasn’t been tested with the latest three 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.

Super Browser Detector

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

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.
Read all 3 reviews

Contributors and Developers

“Super Browser Detector” is open source software. The following people have contributed to this plugin.

Contributors

Change Log

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