Save E-mail

Permalink
Hey,

is there any possibility to keep my e-mail adress free from spam?

I found the add-on "Email Obfuscator" but it adds an extra block for the e-mail adress.
I want to write my save e-mail adress in the "tinymce" editor. I tried to add Javascript over the HTML button, but that didn't work.

Billy :)

BillySpoon
 
olliephillips replied on at Permalink Best Answer Reply
olliephillips
There a number of free javascripts you can find on the web which will obfuscate an email address and you should be able to paste one into the html of your content block via TinyMCE.
BillySpoon replied on at Permalink Reply
BillySpoon
The TinyMCE always put this "CDATA" something in my code and then nothing happens!
<script type="text/javascript">// <![CDATA[
  emailE=('yourname@' + 'emailserver.com')   
  document.write(
    '<A href="mailto:' + emailE + '">' 
    + emailE + '</a>'
  )
>
// ]]></script>
olliephillips replied on at Permalink Reply
olliephillips
The CDATA shouldn't prevent your scripts being parsed.

If you try something like this, it should fire.

<script type="text/javascript">
alert("Script has run");
</script>
BillySpoon replied on at Permalink Reply
BillySpoon
Okay that works, so I think I have to try another script.

Anyway thanks for your help.
12345j replied on at Permalink Reply
12345j
http://www.concrete5.org/documentation/how-tos/developers/automatic-email-obfuscation/
Mnkras replied on at Permalink Reply
Mnkras
I have one that uses reCAPTCHA to automatically hide all email addresses, It will require concrete5.4.2