ProtectEmail
you @ email.com
This address will now show on screen correctly, but as a graphic image instead of text:
If you want to edit the address, it will look like this:
- <email>2c4a38d18b051c842e646536fab6a9ee</email>
If you want to change it, just replace the "gobbledygook" in the middle with the new e-mail address and the graphic version will be updated. Please note, the graphical representation of your updated text will not be rendered in a preview of the page but only when the page is saved and viewed.
If you put [[ProtectEmail]] in the edit summary, others can learn how you did it!
Note: When you use "show preview" the protected email address will not be displayed. When you save the changes, the image will be readable.
Adding email addresses without the protection
If you prefer adding a clickable email link without this protection you can do so in the following way:
- [mailto: Email Me]
...which would produce: [ Email Me]
|
Discussion
Solution to image-scraping?
reCAPTCHA has this great mailhide feature and they have a php library available. The user can't see the email address until he/she clicks on a link. A new window opens asking the user to answer a captcha. If the captcha is answered correctly, the email is shown. I was wondering if this could be used on AboutUs, even though it's a wiki.
Vartan | talk 19:46, 5 October 2007 (PDT)