前言介紹
- 這款 WordPress 外掛「Console Log Cloaking」是 2020-01-02 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2020-01-03,距離現在已有 1948 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.1 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
codecide |
外掛標籤
security | development | console logging |
內容簡介
這個 Console Log Cloaking 的外掛可讓網站管理員阻擋使用者和訪客顯示在控制台的訊息。
在頁面載入和瀏覽的不同階段,log 訊息會顯示在瀏覽器控制台 (F12) 中。在許多情況下,log 訊息是瀏覽器發出的警告或追蹤訊息,以幫助使用者追蹤顯示問題的起源,例如長等待時間或不規則的操作結果。這些訊息還可能是粗心的 console.log " happy " 的開發者追蹤自己的程式碼變數的副作用。在幾乎所有情況下,最好避免顯示這些訊息給網站的訪問者,因為內容通常讓他們深入了解應用程式的內部運作 (例如內部 ID、資料庫連接串等) ,並可能導致嚴重的安全問題。
預設情況下 (首次啟動時),只有主要網站管理員能在控制台中看到log 訊息。管理員可以進一步微調外掛的行為,以啟用特定使用者角色 (開發人員、編輯人員等) 的 log 訊息顯示,並決定要隱藏哪種類型的訊息。預設情況下,所有訊息類型都被隱藏。
要配置外掛的行為,只需從側邊欄訪問 Console Log Cloaking 選單即可。
如果需要相關功能,或者遇到外掛的任何問題,可以通過評論或官方外掛頁面聯繫作者。
捐贈
不需要。
原文外掛簡介
The Console Log Cloaking plugin allows site administrators to block the display of console messages for users and visitors.
Log messages appear in the browser console (F12) at different stages of the page loading and viewing experience. In many cases, log messages are warning or tracking messages issued by the browser to help users track the origin of display problems, such as long wait time or irregular action outcomes. Those messages can also be a side-effect of careless, console.log-happy developers tracking their own code variables. In almost all cases, it is best to avoid displaying those messages to the site’s visitors, as the content often allows them insights into the inner workings of an application — such as internal IDs, database connection strings, etc. — and can lead to serious security problems.
By default (upon first activation), noone but the main site administrator will see log messages in the console. Administrators can further fine-tune the behavior of the plugin to enable the display of log message to specific user roles (developers, editors, etc.), as well as determine which type of messages should be hidden. By default, all message types are cloaked.
To configure the behavior of the plugin, simply access the Console Log Cloaking menu from the sidebar.
This plugin will be updated to account for changes in future versions of WordPress, if necessary.
If you encounter any problems with the plugin, or need extra related functionality, feel free to contact the authors through the comments or the official plugin page.
Donations
None needed.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Console Log Cloaking」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。