Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Super Browser Detector

Описание

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.

Установка

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

Отзывы

25.04.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.
Посмотреть все 3 отзыва

Участники и разработчики

«Super Browser Detector» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Super Browser Detector» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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