Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk
Welcome to the GeekTalk Webmaster Discussion Forums from GeekVillage.com

Click Here To Register. It's Free!

Go Back   geek/talk: Signature-free discourse for serious web publishers > YOUR REVENUE: Making Money On The Internet > Making Money with Email > Anti-Spam Talk For Webmasters
User Name
Register FAQ Calendar Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 10-24-2002, 12:06 AM   #1

Join Date: May 2001
Location: Beautiful Darwin
Posts: 4,753
Lightbulb Spam-Proofing Your Website.

From http://sitepronews.com/
In the three examples below, simply substitute your username (the first half of your email address, everything before the @ symbol) and your hostname (everything after the @ symbol). To use the scripts, just insert them into your page's HTML wherever you need them to be displayed.

Example 1: Creating A Spam-Proof Mailto Link
This snippet of JavaScript code creates a clickable link that launches the visitor's email application, assuming that their system is configured to work with "mailto:" hyperlinks. You can replace the link text with your own message, but see example 2 if you want to display your email address as the link text.

<script language=javascript>
var username = "username";
var hostname = "yourdomain.com";
var linktext = "Click Here To Send Me Email";
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + ">" + linktext + "</a>")

Example 2: A Spam-Proof Mailto Link With Your Email Address Showing
Some visitors won't be able to use a mailto link. This snippet shows your email address in the link so they can copy and paste, or type it by hand:

<script language=javascript>
var username = "username";
var hostname = "yourdomain.com";
var linktext = username + "@" + hostname;
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + ">" + linktext + "</a>")

Example 3: Display Your Email Address Without A Mailto Link
Here's a snippet that displays your email address a clickable link:

<script language=javascript>
var username = "username";
var hostname = "yourdomain.com";
var linktext = username + "@" + hostname;
document.write(username + "@" + hostname)
Jan is offline   Reply With Quote
Old 11-16-2002, 07:06 PM   #2
Registered User
Join Date: Nov 2000
Posts: 1,291

For those of you who run your own UNIX servers, I tried out SpamAssassin recently, and it's really great at catching spam! It caught all this in 9 hours (leaving 5 messages, 4 of which were legitimate):

1 N + Nov 16 Customer Servic (7.0K) Are you paying too much for Auto Insurance?
2 N + Nov 16 mspsskuw (124K) Distributed by Weekly Sale Network, Inc.
3 N Nov 16 Kam Abdulla (2.5K) pmak this will help you look good and feel great
4 N C Nov 11 niklax@aol.com ( 13K) trading newsletter
5 N Nov 16 Jerama (6.8K) Leading Brand G=en e=r ic V-i-a gr-a
6 N Nov 15 present@excitem (1.2K) Hardest sites on the net! You must see this!
7 N Nov 16 {{{MarketingToo ( 13K) Lists: Publicity - Libraries - Bookstores - Film Producers - Art Galleries - Record St
8 N + Nov 16 Trivia Pop ( 12K) Philip, Do you know these men?
9 + Nov 16 ana (5.6K) Re: Here is your receipt
10 + Nov 15 Annie (2.2K) You can do it
11 N Nov 16 Emmie Bedient (1.7K) Secure Your Future pmak
12 Nov 16 bocampoxr575@pa (5.7K) Want to go on a date? 6242HOmj2-351zNN
13 Nov 16 lgclRonOldo Her (4.4K) If you sell things with mass email then you need this cd
14 + Nov 16 mohammed malik (2.3K) private
15 T Nov 16 Edward (5.8K)
16 N + Nov 16 Cnolen (123K) W32.Elkern removal tools
17 N Nov 16 slanted@BumRap. (5.4K) New Exclusive Young Girls at RushBabes
18 N + Nov 16 mbabu@1MeanHomb (5.4K) New Exclusive Young Girls at RushBabes
19 N + Nov 15 Printer Cartrid (2.6K) Save up to 80% on Ink
20 N + Nov 16 Chantel Chauvin (2.5K) Information for pmak
21 N Nov 16 taiwong@BullsRu (5.4K) New Exclusive Young Girls at RushBabes
22 N + Nov 16 Chris (3.6K) Holiday Savings On New Cars, 0% financing
23 N + Nov 16 nukem@Ohmigod.c (5.4K) New Exclusive Young Girls at RushBabes

Last edited by demae; 11-16-2002 at 07:06 PM.
demae is offline   Reply With Quote


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
www.Googer.net -- PPC Search Engine Website for sale coosee Website For Sale - Purchase - Barter - Trade 4 07-11-2008 01:30 AM
Logo-Monster.com (Logos download store) Very big revenue ranooo Website For Sale - Purchase - Barter - Trade 0 07-19-2006 04:06 PM
Questions about website promotion??? URGENT dajackal Anti-Spam Talk For Webmasters 18 05-03-2005 10:26 PM
Spam of a strange sort Kathy Web Design and Webmaster Issues 6 12-13-2001 12:31 AM
WEbsite Design - Click to make my website a favorite annamin Marketing Your Website Online 1 01-04-2000 07:58 PM

Please support our advertisers. They ensure our survival.

All times are GMT -5. The time now is 08:51 AM.

GeekVillage.com is copyright © 1998-2015 Curiosity Cave - Science gifts for clever kids. All rights reserved.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.