WP Browser/Platform Detection

plugin banner

This plugin will append CSS classes in default WordPress body class. You can get browser…

Author:Gourav RR (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:6.0.3
Plugin version:2.0.0
Added to WordPress repository:01-03-2019
Last updated:03-01-2023
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:2
Plugin URI:http://gouravrr.com/
Total downloads:1 746
Active installs:100+
plugin download
Click to start download

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


ChangeLog