943,621 Members | Top Members by Rank

Ad:
Jul 14th, 2006
0

email address harvesting - prevention?

Expand Post »
Hi all
What is the safest way to put an email on a website without it being added to every spam list known to man. I am copying all the info from our old website to our new one (created with joomla) and want to find the best way.

All suggestions appreciated
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cajun is offline Offline
3 posts
since Jul 2004
Jul 14th, 2006
0

Re: email address harvesting - prevention?

The only way I can think of would be to munge the address. The problem with that is people can't click on it anymore and be able to mailto. A spam crawler can just as easily check your source as it can your page contents, so any email addresses would need to be specifically represented so only a human being with half a brain can transform them into something legit. dogtree@dogtreestudios.com would become dogtreeYOUKNOWWHATTOADDdogtreestudiosDOTNESScom.
Reputation Points: 35
Solved Threads: 3
Posting Whiz in Training
Dogtree is offline Offline
232 posts
since May 2005
Aug 12th, 2006
0

Re: email address harvesting - prevention?

I know this is an old thread, but I thought it was worth resurrecting for a solution.

The following script will disguise the e-mail link
[html]
<a href="mailto:name@server">name@server</a>
[/html]

as

[html]
<script type="text/javascript">emLink("eman, revres");</script>
[/html]

You simply reverse the order of the letters (name = eman, server = revres).

function stringReverse(textString) {
  if (!textString) return '';
  var revString = '';
  for (i = textString.length-1; i>=0; i--)
    revString+=textString.charAt(i)
  return revString;
}

function emLink(name, server) {
  var rname    = stringReverse(name);
  var rserver  = stringReverse(server);
  var email    = rname + "@" + rserver;
  var mailText = '<a href="mailto:' + email + '">' + email + '</a>';
	
  document.write(mailText);	
}

I hope that helps someone.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: DREAMWEAVER disaster..
Next Thread in Site Layout and Usability Forum Timeline: Is this possible? plz help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC