Hide mailto from Google with Ajax
Hi there,
I used to 'protect' my email addresses from being indexed by Google in the following manner:
- $.post( '/mailto.php', { password: 'mypass' }, function(data) {
- $( 'span.email' ).html(data);
- })
mailto.php would return
- <a href="mailto:me@example.com">me@example.com</a>
This used to work fine until a while ago: Google is now able to (partially) read Ajax loaded content. Could anyone advice me on what new method i should use for protecting my e-mail links? Thanks in advance! Regards, Knal