Jump to content
KiteLife Forum

Email addys in forum...


Recommended Posts

For those of you that don't know, much of the spam you might receive can often be generated by "bots" or "spiders" that go through web sites and farm email addresses that are amidst the text...

So, I heartily recommend that anyone posting their email address on a web site or forum use some sort of encoder (there is an extension on the Dreamweaver site to do this automatically for your web pages), or format like this:

webmaster(at)kitelife.com

webmaster-at-kitelife.com

webmaster at kitelife.com

Or any similar version that is still interpretable by HUMANS reading it.

I mention this after seeing a few signatures on our forum with the email address included and formatted normally.

Link to comment
Share on other sites

Here is a simple script I wrote to scramble your email address so that spiders do not get it from your web pages. Let me know if you need any help with it. Just cut and paste the section between the asterisks and then change the areas that are marked.

********************************************************************

<!--Scrambled Email Address Code-->

<script>

<!--

function escramble(){

var a,b,c,d,e,f,g,h,i

a=' b=' enter the first part of your email address here. example: staff '

c='\">'

a+='lt'

a+='o:'

b+='@'

e=''

f=' enter the text you want displayed here. example:click here to email me. '

b+=' enter your domain here. example: yourdomain.com '

b+='?Subject= enter the subject of your email here. example: I want information. '

g='p

h=' if you have an image for your email, enter the path here. '

i='\" alt="Email us." border="0">'

if (f) d=f

else if (h) d=g+h+i

else d=b

document.write(a+b+c+d+e)

}

escramble()

//-->

*********************************************************************

Only use the part between but not including the asterisks.

All entries must be done between the ' ' single quote marks.

The single quote marks must be used and cannot be deleted.

If you do not want to use an image, leave that area blank but

leave the ' ' quote marks. The same if you do not want to

automatically insert a subject into your e-mail.

When entering in your information, delete all text between the

quote marks and replace it with your own.

Example, change the following line from this:

b+='enter your domain here. example: yourdomain.com'

to look like this:

b+='kitelife.com'

If you do not want an image or alternate text in place of your email address, delete the red text in those fields and leave only the single quote marks like the following:

f=' '

(no alternate text will be displayed.)

h=' '

(no image will be displayed.)

Thats about it, feel free to ask if you have any other questions. This code can be inserted anywhere in your HTML page. No other code is necessary for it to properly work.

Hope this helps you out.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...