[WordPress] 外掛分享: WP BrowserUpdate

首頁外掛目錄 › WP BrowserUpdate
WordPress 外掛 WP BrowserUpdate 的封面圖片
1,000+
安裝啟用
★★★★
4.6/5 分(16 則評價)
23 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v6.0.1 上架:2013-04-16

內容簡介

許多網民仍使用過時的瀏覽器,主要原因是不知如何更新。為了安全和可靠性考量,建議使用較新的瀏覽器。本外掛以不打擾使用者的方式提醒您訪客需升級瀏覽器。啟用本外掛後,您和您的訪客就可以放心使用了⋯⋯

欲瞭解更多資訊,請前往 browserupdate.org。

如欲將本外掛翻譯成您的語言,請造訪 Translating WordPress Project 網頁以取得相關詳情和支援。感謝您的支持!

外掛標籤

開發者團隊

⬇ 下載最新版 (v6.0.1) 或搜尋安裝

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

原文外掛簡介

Many users still browse with outdated browsers, often unaware of the risks. Upgrading ensures better security and reliability. This plugin displays a subtle notification prompting visitors to update their browser. Activate the plugin, and it works seamlessly.
WP BrowserUpdate is based on the browser-update.org detection logic. The plugin now runs independently from browser-update.org at display time: the visitor-facing notification is served from the plugin’s own bundled runtime files, so sites do not need to load scripts, styles, or default notification links from browser-update.org. browser-update.org remains the credited upstream source for the bundled detection logic, and future runtime refreshes are tracked with source URLs and hashes in the plugin assets.
Visit browserupdate.org for more details about the upstream project.
Want to help translate this plugin? Visit the WordPress Translation Project.
How it works
WP BrowserUpdate bundles browser-update.org detection logic for WordPress. After activation, the plugin loads the local notification runtime from the plugin directory and passes your configured browser-version thresholds to those scripts. The notification is shown only when the bundled detection logic matches a browser to your settings.
The settings page is available under Settings > WP BrowserUpdate. You can define browser versions for every browser key supported by the bundled browser-update.org runtime, choose where the message appears and which element should contain it, enable testing mode, decide whether mobile or unsupported browsers should be notified, customize links, language and message text, and add trusted custom CSS for the notification.
Browser version fields accept major versions such as 115 and positive dotted versions such as 137.0.3912.63. Dotted versions are passed exactly to the bundled runtime instead of being reduced to their major version; exact comparison depends on the bundled browser-update.org logic and the browser key used by that runtime. A value of 0 uses the default bundled outdated-browser detection. Negative whole numbers are passed to the bundled runtime as relative offsets from the current bundled upstream version.
Microsoft Edge and Microsoft Internet Explorer have separate settings now.
This local runtime design avoids frontend blocking of external script URLs on sites with strict Content Security Policies or tracker blocking. WP BrowserUpdate ships only the local runtime and CSP adapter files needed by the plugin.
Important Notice
Breaking Changes in Version 6.0
– Requires WordPress 6.0 or newer.
– Introduces a new structured settings model to support the browser-update.org customization surface used by WP BrowserUpdate.
– Moves the visitor-facing browser-update.org runtime into the plugin package so strict Content Security Policies and tracker blockers no longer need to allow scripts from browser-update.org.
– Existing WP BrowserUpdate settings from version 5.x are migrated automatically.
Breaking Changes in Version 5.0
– Requires PHP 7.4 or newer.
– Ensure your hosting is updated to PHP 7.4 before upgrading to version 5.0 or newer.
– Servers running older PHP versions are no longer supported.
– If your server is running an earlier PHP version, please download version 4.8.1.

延伸相關外掛

文章
Filter
Mastodon