外掛說明
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.
安裝方式
Upload the zip file to WordPress using the Plugins menu, or upload the entire plugin folder to your server using an FTP client.
常見問題集
- What happens if I deactivate the plugin?
-
All logs will be displayed in the console.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial release.