Hello,

I am defuscating my email on the client as follows:
$("span,a[href^=mailto:]";).defuscate();

Is is working! So:
<a href="mailto:info(AT)domain.com" class="Email">info(AT)domain.com</
a>

Becomes:
<a href="mailto:i...@domain.com"; class="Email">i...@domain.com</a>

However, this is not working when the email is inside TinyMce:
<iframe id="Text_ifr" frameborder="0" src="javascript:"""
style="width: 100%; height: 104px;">
  <html>
  <head xmlns="http://www.w3.org/1999/xhtml";>
  </head>
  <body id="tinymce" class="mceContentBody " spellcheck="false"
dir="ltr">
  <a class="Email" mce_href="mailto:info(AT)domain.com"
href="mailto:info(AT)domain.com">info(AT)domain.com</a>

Maybe this is because the email in the TinyMCE is inside an IFrame?

How can I solve this problem?

Thanks,
Miguel

Reply via email to