Is there a way to hide an email address included in an article with Captcha? I want something like a link saying "Show Email Address" and make the user solve a Captcha and if solved correctly show the email.

For example in Google Projects you can see the people involved and when you click on an email address you need to solve a Captcha before displaying it: https://code.google.com/u/112265612467218200107/ enter image description here

2 Answers 2


They're using Google reCAPTCHA Mailhide. If you want to use it once, you can simply get the HTML code from their generator. Just input your email address (e.g. [email protected]), and you'll get a code like this to paste wherever you want:

<a href="http://www.google.com/recaptcha/mailhide/d?k=01kg8W1efAQFDkyYznE3EjIA==&amp;c=VfE7N2ER5ulELye31Q05M7izax7SCQfEOEhIvght0TQ="
'', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,
width=500,height=300'); return false;" title="Reveal this e-mail address">

If you need the replace all emails, you have to create a plugin, using the Google API available for reCAPTCHA. The existing plugin "plg_emailcloak" (plugins\content\emailcloak) is a good start, just create a new plugin based on this.


I have a simple suggestion, which applies mainly in the case you want to do this for a single article and a single email address. It won't handle any email address appearances in articles.

You can create a simple form, containing a captcha and submit button (e.g. rsforms). Setup the thank you message to display the email address, and then in your article create a modal link for the form. When clicked it will popup the form with the captcha, which after successful submission will reveal the email.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.