[WordPress] 外掛分享: Block old browser versions and suspicious browsers

前言介紹

  • 這款 WordPress 外掛「Block old browser versions and suspicious browsers」是 2025-12-07 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-02-23,距離現在已有 3 天。
  • 外掛最低要求 WordPress 6.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.1 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

hupe13 |

外掛標籤

ban | bad bots | blocking | security | robots.txt |

內容簡介

### 總結:
每當您的瀏覽器發送請求給一個網站時,它都會傳送一個名為"用戶代理"的 HTTP 標頭。用戶代理字符串包含有關您的瀏覽器名稱、操作系統、設備類型和許多其他有用信息。
這個外掛使用 API 將訪問您的網站的每個瀏覽器的用戶代理字符串發送到 https://api.whatismybrowser.com/api/v2/user_agent_parse 來獲得有關用戶代理的以下信息:
- 軟體名稱和版本
- 操作系統名稱和版本
外掛會嘗試檢測舊式和不良瀏覽器,並拒絕它們對您網站的訪問。

### 問題與答案:
1. 使用者代理字符串包含了哪些信息?
- 包含有關您的瀏覽器名稱、操作系統、設備型號和許多其他有用信息。

2. 通過什麼方式,外掛會獲取有關用戶代理的信息?
- 透過 API 將訪問您網站的每個瀏覽器的用戶代理字符串發送到 https://api.whatismybrowser.com/api/v2/user_agent_parse 來獲得相關信息。

3. 當瀏覽器和/或系統過時時,外掛會做什麼?
- 如果瀏覽器和/或系統過時,外掛會拒絕它們對您網站的訪問。

4. 如何設置外掛以防止某些瀏覽器的訪問?
- 您可以設定其他瀏覽器以防止它們訪問您的網站。

5. 什麼是 robots.txt?
- 您可以配置一些重寫規則來提供一個 robots.txt 文件,以允許或拒絕某個瀏覽器的爬行。如果爬行被拒絕,該瀏覽器將無法訪問您的網站。

原文外掛簡介

Every time your web browser makes a request to a website, it sends a HTTP Header called the “User Agent”. The User Agent string contains information about your web browser name, operating system, device type and lots of other useful bits of information.
The plugin sends with an API the User Agent string of every browser that accesses your website for the first time to https://api.whatismybrowser.com/api/v2/user_agent_parse to obtain following information about the User Agent:

Software Name & Version
Operating System Name & Version

WhatIsMyBrowser.com API Terms and Conditions
With this information, the plugin attempts to detect old and bad browsers and denies them access to your website.
HowTo

Go to What is my browser? and sign up to the WhatIsMyBrowser.com API for a Basic (free) Application Plan.
You have a limit of 5000 hits / month for Parsing User Agent. That’s why the plugin manages a database table.
The user agent string of every browser that accesses your website for the first time is sent to this service, and the information is stored a table.
Browsers are blocked if the browser and/or system are outdated:

Default: Chrome, Edge and Chrome based browsers < 139, Firefox browsers < 140, Safari < 18, Samsung Browser < 28, Internet Explorer, Netscape (!) Old systems are all Windows versions prior to Windows 10, MacOS prior to Catalina and Android versions < 10 and Symbian. It will be blocked also if “Software” contains “unknown” or is empty. You can also set up other browsers. Sometimes there are false positive, for example, if the browser is from Mastodon. In this case, you can exclude it from the check. The plugin checks whether the crawlers really originate from Google, Bing, Yandex, Apple, Mojeek, Baidu, Seznam. About robots.txt You can configure some rewrite rules to provide a robots.txt file that can allow or deny crawling for a browser. If crawling is denied, access to your website will be blocked for that browser. Logging The logging can be very detailed. Please check the logs and the WIMB table regularly.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Block old browser versions and suspicious browsers」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.0.1 | 1.3.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection 》STOP BAD BOTS, ★★★★★, , Stop Bad Bots,防止 DNS Cloud 或 API(EndPoint)流量重定向且不使網站變慢,即可阻止壞機器人、垃圾郵件機器人、Crawlers 和 spi...。
  • Bot Traffic Shield – Block Bad Bots and Stop AI Bots Crawlers 》總結文案:在人工智慧時代,您寶貴的網站內容成為大型科技公司數據爬蟲的首要目標。Bot Traffic Shield是您的第一道防線,這款輕量且功能強大的外掛程式可以...。
  • ShieldUp – Bad Bots, Scrapers, Attackers 》總結:ShieldUp是一個WordPress外掛,通過提供即時監控訪問IP、HTTP代碼、URL和用戶代理、組織分析、自定義時間軸和可視化等功能,幫助您識別和對抗惡意機器...。
  • crawler-hunter 》當機器人和網頁爬蟲造訪您的網站時,它們會檢查完整用戶代理字串的內容,並封鎖除了白名單以外的機器人和爬蟲。, 此外,您也可以手動封鎖 IP 位址,如果您啟...。
  • BotRx DeTx Plugin 》er WordPress plugins besides BotRx DeTx Plugin?, Yes, we offer BotRx Plugin for WordPress, which provides advanced bot management features and is d...。

文章
Filter
Apply Filters
Mastodon