EmailCloak
EmailCloak 0.2
Works with MODx Version(s): All
Submitted: Jul 18th 2006 | License: None Specified | Downloads: 1139
Submitted: Jul 18th 2006 | License: None Specified | Downloads: 1139
Allows email addresses to be cloaked from spambots.
I cannot see any other alternatives to this yet, and the code is very raw. If anyone can think of any improvements, I'm all open to suggestions. One feature I quite like is that you can set a page ID using $spage to make the link direct to a contact form in case Javascript is disabled.
Main credits go to Shawn K. Hall from this website address: http://tinyurl.com/9zouq
To use this snippet, type this in your document content:
[[EmailCloak? &saddress=`youremail@address.com` &scaption=`Email Me`]]
OPTIONAL:
&stitle=`text` - to include a title attribute in your <a> tag.
&spage=`12` - page id of your contact form in case Javascript is not enabled.
You MUST include both an &saddress and &scaption to include the link on your page.
Description
This is a snippet which allows email addresses to be cloaked or hidden from SPAM bots. Of course, this method is not foolproof, in fact: "You sit Joe Cracker down with the code for an hour or so and he'll correct his RegEx-capable parsing spider to decode even this."I cannot see any other alternatives to this yet, and the code is very raw. If anyone can think of any improvements, I'm all open to suggestions. One feature I quite like is that you can set a page ID using $spage to make the link direct to a contact form in case Javascript is disabled.
Main credits go to Shawn K. Hall from this website address: http://tinyurl.com/9zouq
Instructions
Install the snippet.To use this snippet, type this in your document content:
[[EmailCloak? &saddress=`youremail@address.com` &scaption=`Email Me`]]
OPTIONAL:
&stitle=`text` - to include a title attribute in your <a> tag.
&spage=`12` - page id of your contact form in case Javascript is not enabled.
You MUST include both an &saddress and &scaption to include the link on your page.
Previous Releases
Extras
No results found.