Business help and advice forum for starting and growing small businesses - Teneric Business Forums
Login Register FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools
(#1)
Old
mbailey Offline
Business manager
 
Posts: 43
Join Date: Jun 2004
Location: Hertfordshire
Post How to reduce SPAM on your website - 20-07-2004, 10:00 AM

OK, this is not strictly a marketing tip - think of it more as anti-marketing against spammers!!!

One of the ways that spammers get your address is through harvesting programs. I actually tried one of these to see how they worked (and no, I didn't mailbomb the thousands of addresses it delivered!!!) But there is something you can do to defend your website against this scourge! By using a bit of javascript instead of your email address within the HTML of your page you can effectively mask it from harvesting software but leave a working link for users.

If, for example your email address is info@yourdomain.com, then the following code would display the text 'Click here to email us', with a link that goes to the correct address. Harvesters cannot read this because they are looking for content before and after an @ symbol - this code breaks it up.

<script language="JavaScript" type="text/javascript">
document.write("<a href='mailto:");
document.write("info");
document.write("\100");
document.write("yourdomain.com");
document.write("'>");
document.write("Click here to email us");
document.write("</a>");
</script>

Of course, if you enjoy receiving emails on V1agra and pen1s enlargements, please disregard this!
Reply With Quote

(#2)
Old
peterjhale's Avatar
peterjhale Offline
Small Business Guru
 
Posts: 2,499
Join Date: May 2004
Location: Cookham, UK
Send a message via Yahoo to peterjhale
21-07-2004, 09:36 AM

This is good

I have also seen others do:

<a href="mailto:info@teneric.co.uk"> info at teneric.co.uk </a>

Not sure if that does the same thing or not


Starting a new business and need finance?
Click here to get a free business plan template
Reply With Quote
(#3)
Old
mbailey Offline
Business manager
 
Posts: 43
Join Date: Jun 2004
Location: Hertfordshire
21-07-2004, 02:20 PM

This method does not work as the harvesters are reading the raw HTML code, where the email address still appears. Basically you have to make sure that (using the code above) the email address does not appear complete.
Reply With Quote
(#4)
Old
peterjhale's Avatar
peterjhale Offline
Small Business Guru
 
Posts: 2,499
Join Date: May 2004
Location: Cookham, UK
Send a message via Yahoo to peterjhale
27-07-2004, 02:17 PM

Ok thanks Mike - I do get a lot of junk and my email is exposed - I think I'll have to change


Starting a new business and need finance?
Click here to get a free business plan template
Reply With Quote
(#5)
Old
mbailey Offline
Business manager
 
Posts: 43
Join Date: Jun 2004
Location: Hertfordshire
27-07-2004, 03:13 PM

It's MARTIN not MIKE!
Reply With Quote
(#6)
Old
peterjhale's Avatar
peterjhale Offline
Small Business Guru
 
Posts: 2,499
Join Date: May 2004
Location: Cookham, UK
Send a message via Yahoo to peterjhale
27-07-2004, 03:38 PM

you know, I don't know what I am thinking when I reply to your mails


Starting a new business and need finance?
Click here to get a free business plan template
Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.