Title: WP Browser/Platform Detection
Author: Gourav RR
Published: <strong>March 1, 2019</strong>
Last modified: January 3, 2023

---

Search plugins

![](https://ps.w.org/wp-browser-platform-detection/assets/banner-772x250.jpg?rev
=2404477)

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://ps.w.org/wp-browser-platform-detection/assets/icon-256x256.png?rev=2042102)

# WP Browser/Platform Detection

 By [Gourav RR](https://profiles.wordpress.org/gouravrr/)

[Download](https://downloads.wordpress.org/plugin/wp-browser-platform-detection.zip)

 * [Details](https://pcd.wordpress.org/plugins/wp-browser-platform-detection/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/wp-browser-platform-detection/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/wp-browser-platform-detection/#installation)
 * [Development](https://pcd.wordpress.org/plugins/wp-browser-platform-detection/#developers)

 [Support](https://wordpress.org/support/plugin/wp-browser-platform-detection/)

## Description

This plugin do best role to detect browser/platform. For wordpress developer its
been complicated to detect browser/platform, this plugin will add browser/platform
name as class in body tag of webpage, so as a developer you can easily detect browser/
platform and write some CSS or JS stuff according to your requirements.

The plugin will do the following

 1. Browser
 2. Web server
 3. Device
 4. Operating system

For example, if you are using ipad, then this plugin will add ipad, osx, and safari
classes in body tag.

### Additional enhancements in version 2.0.0

 1. Detected browsers
     ‣ Chrome ‣ Safari ‣ Netscape ‣ Opera ‣ Opera Mini ‣ Opera Mobi‣
    Mac Internet Explorer ‣ Windows Internet Explorer ‣ FireFox ‣ Internet Explorer‣
    Microsoft Edge Browser ‣ Lynx Browser
 2. Detected Web servers
     ‣ Apache HTTP Server ‣ Microsoft IIS 7 ‣ Microsoft IIS ‣ 
    Nginx Web Server
 3. Detected Devices
     ‣ iPad ‣ iPod ‣ iPhone ‣ Android ‣ Silk ‣ Kindle ‣ BlackBerry‣
    Mobile
 4. Detected Operating systems
     ‣ Windows 10 ‣ Windows 8.1 ‣ Windows 8 ‣ Windows 7 ‣
    Windows Vista ‣ Windows XP ‣ Windows 2000 ‣ Windows ME ‣ Windows 98 ‣ Windows 95‣
    Windows 3.11 ‣ Mac OS 10 ‣ Mac OS 9 ‣ Linux ‣ Ubuntu ‣ Mobile Web OS

### Arbitrary section

## Installation

 1. Upload `wp-browser-platform-detection` to the `/wp-content/plugins/` directory
 2. Activate the plugin
 3. Inspect page or Check page source and you will find new classes added to body 🙂

## Reviews

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

### 󠀁[Great, Flexible Plugin Ever](https://wordpress.org/support/topic/great-flexible-plugin-ever/)󠁿

 [Vinayak Zutti](https://profiles.wordpress.org/vinayakz/) June 2, 2019

Great plugin ever, which helps in flexibility for CSS, HTML, by just adding only
class in body, detecting browser and its platform… 🤗🤗🤗

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

### 󠀁[Detect Device Plugin, build for Developers](https://wordpress.org/support/topic/detect-device-plugin-build-for-developers/)󠁿

 [Gourav RR](https://profiles.wordpress.org/gouravrr/) March 1, 2019

For wordpress developer its been complicated to detect browser/platform, this plugin
will add browser/platform name as class in body tag of webpage, so as a developer
you can easily detect browser/platform and write some CSS or JS stuff according 
to your requirements. Enjoy guys… 🙂

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/)

## Contributors & Developers

“WP Browser/Platform Detection” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Gourav RR ](https://profiles.wordpress.org/gouravrr/)

[Translate “WP Browser/Platform Detection” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-browser-platform-detection)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-browser-platform-detection/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-browser-platform-detection/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-browser-platform-detection/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-browser-platform-detection/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.0.9

 * Initial release

#### 1.0.0

 * Enhanced to detect all devices, browsers, operating systems and web-servers

#### 2.0.0

 * Tested on WordPress 6.0

## Meta

 *  Version **2.0.0**
 *  Last updated **3 years ago**
 *  Active installations **100+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.0.11**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-browser-platform-detection/)
 * Tags
 * [body class](https://pcd.wordpress.org/plugins/tags/body-class/)[browser](https://pcd.wordpress.org/plugins/tags/browser/)
   [detect](https://pcd.wordpress.org/plugins/tags/detect/)[device detection](https://pcd.wordpress.org/plugins/tags/device-detection/)
   [platform](https://pcd.wordpress.org/plugins/tags/platform/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/wp-browser-platform-detection/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/)

## Contributors

 *   [ Gourav RR ](https://profiles.wordpress.org/gouravrr/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-browser-platform-detection/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://wordpressfoundation.org/donate/)