The Pokémon Peninsula
Today is -:- -:- Release Dates: soon (JP) -:- soon (US) -:- soon (EU) -:- soon (AU)
.rxncommunity: RyuX Network Forums | RXN Top 50 | Pocket Power Network | RXN Chat

Layout: You are currently using Winter Stars | Switch to Castform Sunrise

-:- -:-The Pokémon Peninsula: Winter Stars -:- -:-

The Pokémon Peninsula - Webmaster Tutorials - Anti-Spam

The Pokémon Peninsula > Webmaster Tutorials > Anti-Spam Tutorial

Anti-Spam Tutorial

by Jedi_Amara

Spammers are clever. They have special programs, called "robots" or just "bots", that trawl the Web searching through HTML to find email addresses. They add these addresses to their database, and boom! Spam starts flooding in! Most webmasters will have found, at some time, that they made a mistake in putting their email address up on their site as contact information. But there are ways to do it, and these are some of the easiest ways. Some of these only apply to webmasters, but some go for everyone!

For the purposes of this tutorial, your email address is yourname@yourdomain.com - just replace the parts with your real address when you use the techniques here.

- Don't link to your email address, ie:
<a href="mailto:yourname@yourdomain.com">
The simplest spam-bots look for the "mailto:" bit and grab the address after it.


- Use Javascript to hide your email address. If you want to link to your email address, Javascript is the easiest way to hide it from spambots.

1. If you want to link "yourname@yourdomain.com" to yourname@yourdomain.com, use the following code:
[CODE]
<script language="javascript"> 
<!-- 
var username="yourname" 
var hostname="yourdomain.com" 
var linktext=username + "@" + hostname 
document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + ">" + username + "@" + hostname + "</a>") 
//--> 
</script>

[/CODE]

2. If you want to link "Click here" or other text to yourname@yourdomain.com, use the following code:
[CODE]
<script language="javascript"> 
<!-- 
var username="yourname" 
var hostname="yourdomain.com" 
var linktext=username + "@" + hostname 
document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + ">" + "Click here" + "</a>") 
//--> 
</script>

[/CODE]


- Don't use your main email address (whether ISP-issued or not) for your website, or to sign up to stuff on the Net (since some companies will sell your email address). Set up a new one just for it, so if you get spammed it won't clog up your personal email. You can give your main email address to people who legitimately email you about your site, eg. your staff members. Also, get a program that will bounce spam.

>>JA recommends:
-------Fastmail www.fastmail.fm - gives 10MB space for free plan, lots of host domains to choose from, more space and bandwidth and host your own domain if you pay. Also lets you bounce spam.
-------Gmail www.gmail.com - gives 1000MB space and has a really good spam filter and reporting system. Also protects against things like phishing ^^ At the moment it's still in beta so you need an invitation to get an account, so if you need one email me at and I'll send you an invite straight back to your email account.
-------Spymac www.spymac.com - gives 1000MB space (yes, you read right) for free, plenty of room for your legit emails even with a lot of spam. Also gives 100MB webspace and 250MB image storage space.
-------Mailwasher www.mailwasher.net - a free program that will bounce spam from almost any type of email address.


- Use aliases. These are "disposable" email addresses that forward email to your real email address. If you start getting spam to an alias, just delete the alias. Also, you can set up a different alias for each thing you sign up to, so you can see who sells your email address (eg: website@yourdomain.com, pokecommunity@yourdomain.com, newsletter1@yourdomain.com). If you have your own domain, some hosts let you set up aliases for yourself; otherwise, try one of the free services listed below.

>>JA recommends:
-------dot.TK www.dot.tk - when you sign up for yourname.tk, you get 5 aliases of the type you@yourname.tk
-------cjb.net www.cjb.net - when you sign up for yourname.cjb.net, you get 100 aliases of the type you@yourname.cjb.net
-------Sneakemail www.sneakemail.com - you can get yourname@sneakemail.com as an alias


- Use a "formmail" script. These are popular and easy to find; the user fills in a form, and the information in the form is emailed to you through a CGI script, so your email address is never revealed. You can get hosted formmails or install your own. Many hosts have formmail pre-installed for you - just check their support database for details.

>>JA recommends:
-------HotScripts www.hotscripts.com - a huge database of scripts; just find the right category and install your own.
-------HostedScripts www.hostedscripts.com - if you can't or don't want to install your own script, and your host doesn't have it preinstalled, this site is one of many that will set up and host a formmail script for you.


Well, I think that's pretty much it for me XD. Give these techniques a go, and hopefully you'll be relatively spam-free - that is, provided you don't go splashing your email address all over the Net!

 


Content © 2001-2005 to The Pokémon Peninsula. All rights reserved.
TPP does not own or claim to own Pokémon or any associated names or insignia; this is a fan site only.
Recommended resolution: 800x600. Colour: 16-bit+. CSS, images on. Tested in IE, Firefox, Mozilla and Netscape. Report Broken Link
♥ I won the layout from PSB
Topsites
Pokemon Top 500

TPP Main
Splash Screen
News and Updates
PocketNews
About TPP
Link to Us
Link Exchange
Official Links
Affiliate with Us
Contact Us
Awards We've Won
Win an Award
Support TPP
FAQs
Legal Stuff
Special Thanks
RXN Forums
STAFF
Site Staff
Job Openings
Staff Login

-:- click to expand a heading -:-

Features

General

Pokédex

Pokémon TV
Indigo League
Orange League
Johto Journeys
Johto League Champions
Master Quest
Advanced (Generation)
Advanced Challenge

Movies
Mewtwo Strikes Back
Mewtwo Returns
The Power of One
Spell of the Unown
Celebi: The Voice of the Forest
Pokémon Heroes
Jirachi: Wish Maker
Destiny Deoxys
Lucario and the Mystery of Mew

Games
GameBoy/Color/Advance
Red/Blue/Green
Yellow
Gold/Silver
Crystal
Ruby/Sapphire
Fire Red/Leaf Green
Emerald
GB/C/A RPG GUIDES
Puzzle Challenge
TCG
TCG II
Pinball
Pinball RS
Nintendo DS
Diamond/Pearl
Dash
Nintendo 64
Stadium
Stadium II
Snap
Puzzle League
GameCube
Channel
Box
Colosseum
Pokémon mini
Console
Party
Pinball
Zany Cards
Puzzle Collection
Untranslated Games

TCG
Rules
Tournaments
Base Set
Base Set 2
Jungle
Fossil
Team Rocket
Gym Heroes
Gym Challenge
Neo Genesis
Neo Genesis 2
Expedition
Aquapolis
Sandstorm-ex
Caravan-ex
Strategy

Music

Merchandise
Videos
Mangas
Novelisations
Annuals
Pikachu Mug

Media
IL Gallery
OL Gallery
JJ Gallery
JLC Gallery
MQ Gallery
AG Gallery
AC Gallery
MIDIs
Video Clips
Audio

Fan Stuff
Fanfics
Fanart
Jokes
Sprite Edits
Screen Mods
Fake Cards
Fake Pokémon

Downloads
Programs
Fonts
Sprites
Wallpapers
Winamp Skins
ROMs/Emulators

Tutorials
Sprite Editing
Trainer's Eyes
Battle Screens
Pokémon Stats Screens
Pokémon Move Screens

Just For Fun

RM2K/3
Facesets
Charsets
Chipsets
Game Over Screens
Title Screens
System Graphics
Games

Webmasters

Saybox

Partners
Patamon's World
Pokémon RM2K
Animeopolis
gallery@ryux
PocketNews
RyuX Network Forums
Affiliates
Pokemon Palace Network
Scyther's Pokemon Palace
The Cave of Dragonflies
PokéDen
Pokémon Fever Network
Pokemon OnLine
Hosted By
JKaizer.Net
Hentai-Free
TPP is proudly hentai-free!
Networks
Pocket Power Network
Hentai-Free Network
Pokemon Cult
Top-Site Awards
Statistics


Support TPP

Bravenet Signup
Buy a Domain
Click to Support
Buy a Toy

Search the Web:


Webmasters make money!