
內容簡介
這個外掛程式可以很好地偵測使用的瀏覽器和平台。對於使用 WordPress 的開發人員來說,偵測瀏覽器和平台可能有些複雜。這個外掛程式會在網頁的 body 標籤中加入瀏覽器和平台名稱作為 class,因此作為開發者,您可以很容易地偵測瀏覽器和平台,並根據您的需求撰寫一些 CSS 或 JS。
這個外掛程式將執行以下操作:
瀏覽器
Web 伺服器
裝置
作業系統
例如,如果您正在使用 iPad,那麼這個外掛程式將在 body 標籤中加入 iPad、osx 和 Safari 類別。
版本 2.0.0 中的額外增強功能
偵測到的瀏覽器
‣ Chrome
‣ Safari
‣ Netscape
‣ Opera
‣ Opera Mini
‣ Opera Mobi
‣ Mac Internet Explorer
‣ Windows Internet Explorer
‣ FireFox
‣ Internet Explorer
‣ Microsoft Edge Browser
‣ Lynx Browser
偵測到的 Web 伺服器
‣ Apache HTTP 伺服器
‣ Microsoft IIS 7
‣ Microsoft IIS
‣ Nginx Web 伺服器
偵測到的裝置
‣ iPad
‣ iPod
‣ iPhone
‣ Android
‣ Silk
‣ Kindle
‣ BlackBerry
‣ 行動裝置
偵測到的作業系統
‣ 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
‣ 行動 Web OS
任意部分
外掛標籤
開發者團隊
② 後台搜尋「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
Browser
Web server
Device
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
Detected browsers
‣ Chrome
‣ Safari
‣ Netscape
‣ Opera
‣ Opera Mini
‣ Opera Mobi
‣ Mac Internet Explorer
‣ Windows Internet Explorer
‣ FireFox
‣ Internet Explorer
‣ Microsoft Edge Browser
‣ Lynx Browser
Detected Web servers
‣ Apache HTTP Server
‣ Microsoft IIS 7
‣ Microsoft IIS
‣ Nginx Web Server
Detected Devices
‣ iPad
‣ iPod
‣ iPhone
‣ Android
‣ Silk
‣ Kindle
‣ BlackBerry
‣ Mobile
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
