Published on
Dec 26, 2024
Updated on
08 Jan 2025
Share

Protect your email addresses with WPMasterToolKit's Obfuscation Module

Spammers and automated robots are notorious for scouring the web in search of e-mail addresses to exploit. This can lead to an avalanche of unwanted mail in your inbox, and even compromise your online security. To counter this problem, we have developed the Obfuscate Email Addresses integrated into our WPMasterToolKit plugin. This module allows you to hide your e-mail addresses while making them visible to human users, without allowing bots to exploit them.

Why use the Email Obfuscation module?

There are already plugins dedicated to this task, but these solutions can be too bulky or complex for many users who just need simple obfuscation functionality. Our module offers a lightweight, effective alternative to protect your email addresses by returning the characters that make up your addresses, making them more difficult for bots to detect.

Discover the module : Hide author slugs

How Email Address Obfuscation works

The WPMasterToolKit Obfuscate Email Addresses module uses a simple shortcode to enable users to integrate a protected email address into their WordPress site. Obfuscation is achieved by inverting the characters of an email address so that they cannot be read by automated systems.

It's important to note that the module takes into account browser specificities when performing this manipulation. For example, for users browsing with Firefox - a browser that has certain problems with the CSS property unicode-bidi - the module will not invert the characters.

How do I use the Obfuscate Email Address module?

Using the Obfuscate Email Address module is extremely simple, thanks to the [wpm_obfuscate] shortcode that you can insert anywhere on your WordPress site. Here's an example:

[wpm_obfuscate email="example@example.com"]

This shortcode will display the email address obfuscated on your website. You can also define how the address is displayed via the attribute display. For example, to have a two-line presentation :

[wpm_obfuscate email="example@example.com" display="newline"]
Example of HTML email address obfuscation

Technical choices for the Obfuscation Module

We chose to use a combination of CSS and string manipulation directly in PHP to guarantee security while maintaining readability and user-friendliness. By using the direction: rtl;we make the text readable. Character inversion is performed except for problematic browsers (such as Firefox) to ensure that the display remains impeccable.

In addition, the integration of add_shortcode makes integration easier for the user, while built-in filters on WordPress text widgets improve compatibility with other parts of the site by allowing them to handle shortcodes.

Pro
from
2.50$
/Month
14
Days
Money-back guarantee
risk-free at 100 %!

Conclusion

The module Obfuscate Email Addresses from WPMasterToolKit is an elegant and simple solution for protecting your email addresses from bot harvesting. Its simplified integration via a shortcode makes it accessible to all user levels, and its minimal impact on your site's overall performance makes it an ideal solution compared to other, bulkier plugins.

Category
Security
Version
≤ 1.5.0
Type
Free
More than 18 reviews
+1000
Installations
104
Modules
Pro
from
30.00$
/Year