內容簡介
此外掛可有效阻擋過時或可疑的瀏覽器訪問您的網站,透過檢查用戶代理字串來確保網站安全,提升用戶體驗。
【主要功能】
• 檢查用戶代理字串以辨識瀏覽器
• 阻擋過時或不安全的瀏覽器版本
• 支援自定義瀏覽器設定
• 提供詳細的日誌記錄功能
• 整合 WhatIsMyBrowser.com API 進行檢查
外掛標籤
開發者團隊
② 後台搜尋「Block old browser versions and suspicious browsers」→ 直接安裝(推薦)
原文外掛簡介
There are many ways to block unwanted access to your website. This plugin checks which user agent is accessing your website. If it is outdated, unwanted, or suspicious, access is blocked.
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
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.
Take care about the WhatIsMyBrowser.com API Terms and Conditions.
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 this 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 and others. The plugin blocks browsers like Chrome, Firefox and other without Sec-Fetch headers (Sec-Fetch-Site, Sec-Fetch-Mode, Sec-Fetch-Dest) and incorrect Client hints (Sec-CH-UA, Sec-CH-UA-Platform). 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.
