High Rankings Search Engine Optimization ForumHigh Rankings Advisor Search Marketing Newsletter

Welcome Guest ( Log In | Register )

Important Announcement: *Lost Your Search Engine Traffic?*
 
Reply to this topicStart new topic
> Email Address, How to keep web bots from collecting
perkle
post Nov 27 2006, 02:59 PM
Post #1


HR 4
****

Group: Active Members
Posts: 115
Joined: 30-August 05
User's local time:
Sep 9 2010, 03:26 AM
Member No.: 8,522



Is there any way to keep the spamers or web bots from collecting my email address on contact page. I have seen at least one site where the mailto:emailaddress was done using ASCII Characters .

(IMG:http://www.highrankings.com/forum/style_emoticons/default/eek.gif)

Vance
Go to the top of the page
 
+Quote Post
jehochman
post Nov 27 2006, 03:10 PM
Post #2


Jonathan Hochman
Group Icon

Group: Moderator
Posts: 1,554
Joined: 27-November 05
User's local time:
Sep 9 2010, 03:26 AM
From: Connecticut - Land of Steady Habits
Member No.: 9,569



You can find many ways to do javascript email obfuscation. You can also create a response form that employs a Captcha or rudimentary Turing Test to keep out spambots.
Go to the top of the page
 
+Quote Post
chrishirst
post Nov 27 2006, 03:16 PM
Post #3


HR 9
Group Icon

Group: Moderator
Posts: 4,636
Joined: 13-August 03
User's local time:
Sep 9 2010, 08:26 AM
From: Blackpool UK
Member No.: 492



using ASCII or UNICODE chars is not foolproof

using javascript to write ASCII/UNICODE characters into the page is pretty safe though

a couple of simple javascript functions to hide mailtos

CODE
function HideEmail(user)
// write email address on page to hide from 'spiders'
// recipient name passed as user.
// change domain name in this script before using on your site
{
domain = "domain.tld";

document.write('<a href=\"mailto:');
document.write(user);
document.write('@');
document.write(domain);
document.write('\">');
document.write(user);
document.write('@');
document.write(domain);
document.write('</a>');

}

function EmailName(user,PromptText)
// write email address on page to hide from 'spiders'
// recipient name passed as user. Friendly name passed as PromptText
// change domain name in this script before using on your site
{
domain = "domain.tld";

document.write('<a href=\"mailto:');
document.write(user);
document.write('@');
document.write(domain);
document.write('\">');
document.write(PromptText);
document.write('</a>');

}


the only safe way is to NEVER have the mail address in the page and use a form and server side code to send the email.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



This forum is sponsored by High Rankings, a Boston SEO Agency
- Lo-Fi Version Time is now: 9th September 2010 - 02:26 AM