[WordPress] 外掛分享: UserAgent-Spy

首頁外掛目錄 › UserAgent-Spy
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
5092 天前
最後更新
問題解決
WordPress 2.0+ v1.3.1 上架:2008-07-30

內容簡介

UserAgent-Spy 是一款 WordPress 外掛,可在評論區中顯示使用者的作業系統和瀏覽器。它會顯示帶有瀏覽器和作業系統圖示的訊息。您可以自訂顯示作業系統和瀏覽器的方式,包括文字和圖示,僅圖示,以及顯示位置等。未來可能會增加更多自訂功能。

它使用評論物件的 agent 屬性來訪問 UserAgent 字串,並通過一系列正則表達式來偵測作業系統和瀏覽器。

開發已移至 GitHub。請通過 Github 進行功能請求、錯誤回報或進行新代碼的分支和拉取請求。您的反饋非常重要,已經根據請求添加了新功能。因此如果 UA-Spy 中有您想要看到的功能,請留言,我會試著實現。

圖像使用 The Gimp 建立 - http://www.gimp.org/

功能

偵測大多數流行的瀏覽器和作業系統(正在進行中,將有更多的瀏覽器和作業系統)
顯示瀏覽器圖示、名稱和連結到瀏覽器主頁(在未來版本中將可自定義)。
在評論管理頁面中顯示瀏覽器/作業系統(除非使用「自訂」選項)。
可自訂的選項,有自己的選項頁面,可變更瀏覽器/作業系統圖示的大小和顯示位置。
以 GPLv3 發布。

有些人可能會將其與另一款名為 browsersniff 的知名外掛進行比較。UserAgent-Spy 是完全從頭開始創建的,比 browsersniff 有更多的改進:

易於標準安裝,只需上傳到 wp-plugins 並啟用即可。
自訂選項。
不需要 PHP 基礎知識或編輯 WordPress 模板。
以 GPLv3 發布。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「UserAgent-Spy」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

UserAgent-Spy is a WordPress plugin which displays the user’s Operative System and Web Browser in the comments. It shows a message with an icon of the browser and O.S. You can customize the way the operative system and the browser are displayed, with text and icons, just icons, and where to display it. More customization could come soon.
It uses the comment->agent property to access the UserAgent string, and through a series of regular expresions, detects the O.S. and browser.
The development has been moved to GitHub. Please make feature requests, bug reports or just fork and do a pull request on new code through Github. Your feedback is very important, new features have been added by request, so if there’s something you would like to see in UA-Spy, leave a comment, and I’ll see what I can do.
Images created with The Gimp – http://www.gimp.org/
Features

Detects most popular web browsers and Operative Systems (It’s a work in progress, many more browsers/o.s. ’s to come)
Shows browser icon, name, and a link to the browser’s homepage (this will be customizable in future versions).
Shows browser/os in the comments management page (unless using “custom” option).
Customizable, has its own Options Page where you can change the size of the browser/o.s. icon, and where you want it to be displayed.
Published under GPLv3

Some of you may compare this to another well-known plugin named browsersniff. UserAgent-Spy is written completelly from scratch, with several improvements over browsersniff:

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.

文章
Filter
Apply Filters
Mastodon