Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Super Browser Detector

Descrizione

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.

Installazione

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

Recensioni

25 Aprile 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.
Leggi tutte le recensioni di 3

Contributi e sviluppo

“Super Browser Detector” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Changelog (registro delle modifiche)

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