dslreports logo
    All Forums Hot Topics Gallery


how-to block ads

Search Topic:
share rss forum feed
« Free HostSiteEZ? »
This is a sub-selection from Share code

Per Ardua Ad Astra
ExMod 2002-04
reply to Roundboy

Re: Share code

downloadantispamscript.zip 848 bytes
Spam-Proof Email Linking

Recently I've been seeing more and more spam arrive on certain mail-accounts we are using here at home. Especially the account of my brother that is mentioned on a certain website.

Most of you have also probably seen the attempts made by Justin to project the e-mail address that are on some of our DSLR profile pages (if you opted in on your preferences page)

Nice image Justin, but I can't click on it

So what did I do? Combine the best of both worlds I hope

I decided to share it; see the attached file for more since I cannot add the code in this post without messing it up
(even when using the {code} and {pre} block

You can of course change the image to whatever you like and I think this is very cool

I really hope you like this solution!
~ DSLR members save >2,6 Mln. Sq. Ft. of nature! Join us, it's free! ~

Miami, FL
This was such a neat and useful script I decided to make it visible on the page for you, Starfish. Good work.

<title>Spam-Proof Email Linking</title>


<script language="JavaScript">
function mailme()
This script will try to prevent that your e-mailaddress is being found by spambots.
You can easily configure it to suit your own needs:

- 'var user' contains your complete username that comes before the '@'-sign, REQUIRED!

- 'var domain' contains the complete domain that comes after the '@'-sign, REQUIRED!

- 'var subject' contains a subject and is OPTIONAL. Just don't remove or comment the line,
because the script WILL return an error. Just make it blank if you don't need it
(var subject = "")

Made by Starfish, 2002
var user = "thestarfish";
var domain = "gmx.net";
var subject = "About your Spam-proof Script.."
window.location = ('mailto:' + user + '@' + domain + '?subject=' + subject);

<a href="#" onClick="mailme()"><img src="http://www.dslreports.com/i/button.php3?font=eurostib&bg=255255255&fg=000000000&sh=128128128&delta=0&sz=16&text=thesta rfish@gmx.net" border="0"></a>


I have not failed 10,000 times. I have successfully found 10,000 ways that will not work.
- T.A. Edison