Hi all,
I just wanted to understand how the "cloak_url" function works, and whether it truly hides the plain-text email address from the webpage. The reason why I'm asking this, is because right now, if I use the following tag...
...in the webpage I see this code:
As far as I can see, although there is a 'script' element that gets produced by the tag, a plain-text link is then outputted by the javascript in the script - and this, of course, would be easily harvested by any bot. This doesn't look very secure.
I think I must be missing something - can someone explain to me how this works?
I just wanted to understand how the "cloak_url" function works, and whether it truly hides the plain-text email address from the webpage. The reason why I'm asking this, is because right now, if I use the following tag...
- Code: Select all
<cms:cloak_url 'me@example.com' />
...in the webpage I see this code:
- Code: Select all
<span id="vlk6oxBDpkZgz5uw">
<a href="mailto:me@example.com">me@example.com</a>
</span>
<script type="text/javascript">
//<![CDATA[
var vXeDN5PriVqOFOxx=["109","x61","x69","108","116","111","58","109","x65","x40","101","120","97","109","112","x6c","101","46","99","x6f","x6d"];
var vdYEUKSKOETeI3Wr=["x6d","x65","64","101","x78","97","x6d","x70","x6c","101","46","x63","x6f","x6d"];
var v28U6s5oCjtWXCpk="<a hr"+"ef=\"";
for (i=0; i<vXeDN5PriVqOFOxx.length; i++) v28U6s5oCjtWXCpk+='&#'+vXeDN5PriVqOFOxx[i]+';';
v28U6s5oCjtWXCpk+='" >';
for (i=0; i<vdYEUKSKOETeI3Wr.length; i++) v28U6s5oCjtWXCpk+='&#'+vdYEUKSKOETeI3Wr[i]+';';
v28U6s5oCjtWXCpk+='</a>';
document.getElementById( 'vlk6oxBDpkZgz5uw' ).innerHTML = v28U6s5oCjtWXCpk;
//]]
</script>
As far as I can see, although there is a 'script' element that gets produced by the tag, a plain-text link is then outputted by the javascript in the script - and this, of course, would be easily harvested by any bot. This doesn't look very secure.
I think I must be missing something - can someone explain to me how this works?