Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

WP Browser/Platform Detection

Disgrifiad

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

Gosod

  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 🙂

Adolygiadau

Mehefin 2, 2019
Great plugin ever, which helps in flexibility for CSS, HTML, by just adding only class in body, detecting browser and its platform… 🤗🤗🤗
Mawrth 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

Contributors & Developers

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

Cyfranwyr

Cofnod Newid

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