Title: WP Browser/Platform Detection
Author: Gourav RR
Published: <strong>2019 年 3 月 1 日</strong>
Last modified: 2023 年 1 月 3 日

---

搜尋外掛

![](https://ps.w.org/wp-browser-platform-detection/assets/banner-772x250.jpg?rev
=2404477)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/wp-browser-platform-detection/assets/icon-256x256.png?rev=2042102)

# WP Browser/Platform Detection

 由 [Gourav RR](https://profiles.wordpress.org/gouravrr/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-browser-platform-detection.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-browser-platform-detection/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-browser-platform-detection/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-browser-platform-detection/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-browser-platform-detection/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-browser-platform-detection/)

## 外掛說明

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

## 安裝方式

 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 🙂

## 使用者評論

![](https://secure.gravatar.com/avatar/d5377744697a7763752ea9bb70be7e6c13255cdf92713695e93ac5c701b110e7?
s=60&d=retro&r=g)

### 󠀁[Great, Flexible Plugin Ever](https://wordpress.org/support/topic/great-flexible-plugin-ever/)󠁿

 [Vinayak Zutti](https://profiles.wordpress.org/vinayakz/) 2019 年 6 月 2 日

Great plugin ever, which helps in flexibility for CSS, HTML, by just adding only
class in body, detecting browser and its platform… 🤗🤗🤗

![](https://secure.gravatar.com/avatar/0eddf1b93d90c8378f4f8df599c8c993532301c881b122c2e9732195aec49cc0?
s=60&d=retro&r=g)

### 󠀁[Detect Device Plugin, build for Developers](https://wordpress.org/support/topic/detect-device-plugin-build-for-developers/)󠁿

 [Gourav RR](https://profiles.wordpress.org/gouravrr/) 2019 年 3 月 1 日

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… 🙂

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈WP Browser/Platform Detection〉的開發相關工作。

參與者

 *   [ Gourav RR ](https://profiles.wordpress.org/gouravrr/)

[將〈WP Browser/Platform Detection〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-browser-platform-detection)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-browser-platform-detection/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-browser-platform-detection/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-browser-platform-detection/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-browser-platform-detection/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **2.0.0**
 *  最後更新 **3 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.0.12**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-browser-platform-detection/)
 * 標籤:
 * [body class](https://tw.wordpress.org/plugins/tags/body-class/)[browser](https://tw.wordpress.org/plugins/tags/browser/)
   [detect](https://tw.wordpress.org/plugins/tags/detect/)[device detection](https://tw.wordpress.org/plugins/tags/device-detection/)
   [platform](https://tw.wordpress.org/plugins/tags/platform/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-browser-platform-detection/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-browser-platform-detection/reviews/)

## 參與者

 *   [ Gourav RR ](https://profiles.wordpress.org/gouravrr/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-browser-platform-detection/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://wordpressfoundation.org/donate/)