• MODX.com

    2,610 downloads

SpamGuard

SpamGuard is an extra by debussy, first released on 2011-10-14.

Package Description

Protect email addresses in mailto links from spam bots with JavaScript.

This script generates <a> tags that are devoid of email addresses. When a user clicks on the link, a JavaScript generates the mailto link and then forwards the user to it. The @ symbol is never used, and under the most secure method (using a default email domain) the email username (what comes before the @ symbol in the address) is nowhere near the domain, which is also broken up.

Allows TO, CC, BCC, Subject, and Body fields on the Mailto link.

EXAMPLE----------------------

Snippet: [[!SpamGuard? &email=`user-name` &display=`Email`]]

Output: <a class="SpamGuard" href="javascript: void();" uU="user-name">Email</a>

Usage/Installation Instructions

Install via Package Management.

Important: First, please set the domain, defaultLink, and defaultDisplay in the snippet properties; SpamGuard will attempt to use the default domain whenever possible. In fact, this ends up being slightly more secure as the username and the email domain get distanced from each other in the html. the defaultLink and defaultDisplay are used if JavaScript is disabled.

Details

Developer(s)
debussy
Released
2011-10-24
First seen
2011-10-14
License
GPLv2
Supported databases
Minimum MODX Requirement
2.0

SpamGuard Releases

Vendor Signature Released on
MODX.com 1.5-pl 2011-10-24 (14 years ago)