跳到内容

WP-UserAgent

v1.1.8

kyleabaker · 2009年6月17日 上架

WP-UserAgent is a simple plugin that allows you to display details about a computer's operating system or web browser that your visitors comment …

正在使用
200+
评分
5.0 / 5
累计下载
4.1 万
最近更新
2020年10月17日
5 条评价需要 WordPress 2.0+已测试到 5.5.25

贡献者

截图

Example of web browser and operating system detection displayed by WP-UserAgent
Example of web browser and operating system detection displayed by WP-UserAgent
Screenshot of the plugin's Settings page
Screenshot of the plugin's Settings page

WP-UserAgent is a simple plugin that allows you to display details about a computer’s operating system or web browser that your visitors comment from.

It uses the comment->agent property to access the User-Agent string. Through a series of regular expressions, this plugin is able to detect the operating system and browser which can be integrated in comments or placed in custom places through your template(s).

I’m adding new web browsers and operating systems frequently, as well as updating and optimizing the source code. Your feedback is very important, new features have been added by request, so if there’s something you would like to see in WP-UserAgent, leave a comment, and I’ll see what I can do.

WP-UserAgent was written with Geany – http://www.geany.org/
Images created with The Gimp – http://www.gimp.org/

Features

  • Detects most web browsers and popular operative systems (if you find one missing, please let me know!)
  • Shows web browser and operating system icons, names, and a link to their homepages (this will be customizable in future versions).
  • Shows web browser and operating system in the Admin comments management page (unless you’re using “custom” option).
  • Customizable, has its own Options Page where you can change the size of the web browser and operating system icons, where you want it to be displayed, and a few other options.
  • Option to only display web browser and operating system info in Admin section
  • Updated frequently to further extend web browser and operating system detection as well as source code improvements.
  • Published under GPLv3

Some of you may compare this to another well-known plugin named browsersniff. WP-UserAgent is a heavily modified and improved version of UserAgent-Spy, with several improvements over browsersniff also:

  • Easy standard installation, just upload to wp-plugins and activate it.
  • Customizable options.
  • No basic knowledge of PHP or editing WordPress templates required.
  • Published under GPLv3.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums