PDA

View Full Version : Hiding email addresses


myles
13th May 2005, 13:47
Is it possible to hide email addresses from spam harvesters in HTML pages? The email address should remain clickable and readable for humans...

Myles

joe
14th May 2005, 22:50
I heard that using javascript to print the email address sometimes helps. something like


document.write('email@domain.com')


since most harvesters don't process javascript.

root
17th May 2005, 13:15
Look at this page:
http://www.mways.co.uk/prog/hidemail.php

I'm always using it to encode my email addresses.

beatty_t
1st December 2005, 16:25
I use a little javascript I found at dynamicdrive.com... It's pretty clever as it allows you to pick a word or symbol to use in place of "@" when you enter a "mailto:", but when you click on the "mailto:" link, the javascript replaces your symbol with "@"!... It's rediculously easy to use...

Get it here! http://www.dynamicdrive.com/dynamicindex9/emailscrambler.htm

bLuTm8
1st January 2006, 18:01
replace all email addresses in ur website with transparent graphics (gif/png)

example: http://www.freefm.de/modules.php?name=Content&pa=showpage&pid=12

and add this little code as image link
<a href="mailto.php?to=emailaddress&subject=emailsubject"><img src="image.gif" alt="mailme" title="mailme" border="0"></a>


mailto.php:
<?php
$name=$_GET['to'];
$subject=$_GET['subject'];
// echo "mailto:".$name."@domain.tld?subject=".$subject;
header("Location: mailto:".$name."@domain.tld?subject=".$subject);
exit;
?>

SamuelBlood
1st December 2008, 13:09
hi...

I use a little javascript I found at dynamicdrive.com... It's pretty clever as it allows you to pick a word or symbol to use in place of "@" when you enter a "mailto:", but when you click on the "mailto:" link, the javascript replaces your symbol with "@"!... It's rediculously easy to use...
I'm always using it to encode my email addresses.:o