Console Log Cloaking

plugin banner

The Console Log Cloaking plugin allows site administrators to block the display of console messages for users and visitors.

Author:Codecide (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:5.3.8
Plugin version:1.0.0
Added to WordPress repository:03-01-2020
Last updated:03-01-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:833
plugin download
Click to start download

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.


Screenshots
FAQ
ChangeLog