plugin-icon

Email JavaScript Cloak

Von cgarvey·
A simple plugin to use JavaScript to cloak email addresses in your WordPress content (posts & pages).
Bewertung
5/5
Version
1.03
Aktive Installationen
500
Zuletzt aktualisiert
Dec 8, 2018
Email JavaScript Cloak

This plugin lets you use a shortcode to automatically generate ‚cloaked‘ email addresses in your content.

What is cloaking? Take an email address like barack@whitehouse.gov. If that was to appear on one of your posts/pages, it could easily be ’scraped‘ or ‚harvested‘ automatically to add that email address to a spam list of some sort. Cloaking is all about making that harder to do.

How does this plugin do its cloaking? For any email address you include in your content, using the custom shortcode of [email barack@whitehouse.gov], that email address will appear as „barack -at- whitehouse -dot- gov“ in your content initially. JavaScript running in the browser will then convert that email address to a regular, clickable, email link. Whilst it may seem pointless to convert a regular email address to a strange format only to convert it back again, the idea is that most automated ’scrapers‘, or ‚harvesters‘, do not run JavaScript and hence won’t be able to pick up on the non-standard email address. The vast majority of users visiting your site will have JavaScript, and will see regular email addresses (not the strange format).

What about users who have no JavaScript, or have it disabled? They will see the strange format („barack -at- whitehouse -dot- gov“). You can include a footnote using a custom short code [emailnojs] which will explain the strange format, if you wish to cater for that tiny minority of visitors.

Lizenz

This plugin uses the GPLv3 license.

Kostenlosmit dem Business-Tarif
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 5.0.24
Dieses Plugin steht für deine -Website zum Download zur Verfügung.