RSS Feeds

Here's a feed for our sister site: Professors Coding Corner

July 1, 2009

As I promised you on the Home Page, I have a script that will help protect your website from hackers. These parasites collect email addresses to add to their mailing list in several ways.

One fully-automated method is to send out a “robot” program to search all the websites that it can find. Search engines do the same thing, but for a legitimate purpose. The “spambots”, however, are only looking for one thing: email addresses.

Canned Spam

I wrote a short javascript several years ago that hides your email address from spam robots. They can’t find it because it’s not in the HTML source code of your webpage. It only gets added to your page AFTER the page is loaded into your browser.

You can read all about the script, copy it, and use it on your own website. Just go to the Stop Spam Bots page on Professor’s Coding Corner ( our “sister site” ). There are clearly-written instructions on how to use the script on your website.

Don’t believe it? I’ve had readers who’ve told me that it’s impossible! But I’ll prove it to you right now.

Scroll down to the bottom of this page. You will see my email address – it’s shown right there as plain as day.

Now right-click anywhere on this page, and choose “View (Page) Source”. This will pop up a small window containing the HTML source code for this page.

Can you find my email address anywhere??? If you can, I’ll eat my hat!

This HTML source code is what the robot sees — ergo, the robot can’t see my email address either.

PCC favicon

So go to Professor’s Coding Corner right now, and get the script.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment