UK Stained Glass News
UK STAINED GLASS NEWS Sept 2007
and THE UK STAINED GLASS REGISTER

THE SCOURGE OF THE INTERNET
Here's code to foil the SPAM!!!!!!

Decorative Glass

Use clever web site code to protect you from SPAM!!!!!!

Spam is a major problem for all of us. If you use one of the major web sites for your e-mail services there is not a lot you can do, but if you have your own web site, and your own domain name, it is possible to reduce or even prevent spam by the use of this clever script:

E-mail AntiLeech

(N.B. This is a free script originally written and copyrighted by Boweries but which I can no longer find on their web site. It is important that we all respect their work by including the reference to them in the script.)

This is a simple script that will prevent software "robots" from detecting your e-mail address on your web site, and yet bona fide visitors can.

What to do..

STEP ONE:
Insert the following code between the <head> tags:

<!--E-MAIL ANTILEECH SCRIPT by Frederic Andrieux & Boweries Inc. Ltd. (c)2002-->
<script language="javascript">
function sendmail (address){
address=address.split("*");//You can change the * to any string
address=address.join("@");
window.open('mailto:'+address,'_blank');
}
</script>

If you wish to make it more difficult for a programmer to build a script that would automatically read the * as @, just modify the following line:

address=address.split("*");

and replace the * with any string of your choice without spaces, remembering to start and end with anything but a letter, a number, an underscore, a hyphen or a dot.

STEP TWO:
Then replace all instances of @ in all e-mail addresses with the string or sign you set previously and replace all usual

<a href="mailto:myaddress@mysite.co.uk>

with the new syntax (type as one line):

<a href="javascript://" onClick="sendmail('myaddress*mysite.co.uk'); return false">

Important: Remember to avoid writing the actual e-mail address as the link as it would make the script useless. I use an image. You can use a form of words.

I believe that even if you are already receiving a lot of spam mail, making this change will reduce the amount over time. Also, never reply to spam, never open it, and NEVER follow unsubscribe and similar links.

Since I originally wrote this page, Frederic Andrieux the original author of this script has e-mailed me and advised that you can read the original for yourself.

Tell a Friend About This Site....

site menu...

REGISTER YOUR URL:

We list sites from world wide.
All traditional stained glass URLs are invited for consideration.
For a URL to be considered for the registers of Studios they must conform to all of the following criteria:

The site is primarily stained glass
The premises location has been made known to us
Any studio MUST be manufacturing its own stained glass items
Resellers of glass, hardware and patterns are not eligible for inclusion in the studio registers
We reserve the right to exclude any site

Submit URL

You should note that this is primarily a UK site. All bona fide UK studios, professional and amateur are usually listed. Sites from abroad or overseas, will only be listed if we think they would be interesting for our UK artists and visitors.

Click here to send the URL Like to send a letter to the editor?  Send it by e-mail.

Any errors on this site? Let the webmaster know!

click to get back to the top of this page BACK TO THE TOP OF THE PAGE

broadlandWEB Web Site Design