このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの 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.

評価

2019年4月25日
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