Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Thu Jan 04, 2007 2:41 am Post subject: Encrypt and obfuscate email address links to prevent spam |
|
|
Encrypts email addresses into a string of hexadecimal and decimal HTML entities.
InstructionsHTML := cryptEmail(Address [, Text])
HTML: an anchor with the encrypted email link
Address: the email address
Text: display text, if this is not provided the email ciphertext is used
Example:
| Code: | cryptEmail("someone@domain.com", "contact me")
; gives: <a href="mailto:someone@domain.com">contact me</a> |
Download _________________
RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|