0
freakbrother

HTML/Javascript question

Recommended Posts

Does anyone have a clever bit of html or Javascript that allows one to break up an email address on a web site so that the nasty spammers' crawlers won't see it? (Like, making it the concatenation of two string variables).

I'm sure that it is fairly straightforward (well, I could do it in 2 lines of FORTRAN, but that doesn't help much).

Last time I put a clicky email address on a web site I was inundated by spam within a week.
.
.
www.freak-brother.com

Share this post


Link to post
Share on other sites
Quote

allows one to break up an email address on a web site



That kinda depends - what are you using the email address for - as a mailto: link for people to click and send an email or what?

As far as I know, there is no way to do that and still make the link useable... thats why you see alot of people using something like:

MyName"AT"email.com


Jen
Arianna Frances

Share this post


Link to post
Share on other sites
Quote

Quote

allows one to break up an email address on a web site



That kinda depends - what are you using the email address for - as a mailto: link for people to click and send an email or what?

As far as I know, there is no way to do that and still make the link useable... thats why you see alot of people using something like:

MyName"AT"email.com


Jen



Are you sure? I thought javascript could do it (or at least fake it). But my knowledge of anything much post FORTRAN77 and 8086 Assembler is scanty at best.
.
.
www.freak-brother.com

Share this post


Link to post
Share on other sites
A simple way using html is to subsititute @ for the @ symbol

for example
Email Me!


Since the HTML code doesn't look like a proper email address, spam typically doesnt pick it up...But the browser understands the code and displays it on the page properly.

If you want to use Javascript try this...

Example: daizey@dropzone.com


*daizey*

Share this post


Link to post
Share on other sites
Just keep in mind.. any 'popular' methods (i.e. ones avail for download) are likely to be detected by spam crawlers. It's already proven that out of work programmers are 'for hire' to the spammers so keep that in mind.

One of the tricks I do I store the ASCII char values of the email address in an array, then call a function to construct the email address out of the array. Sometimes I'll even store it in reverse and read the array right to left for another layer.

Iota
-----
2+2=5 For Large Values Of 2

Share this post


Link to post
Share on other sites
I was going to suggest the HTML alphabet as well.

http://www.kerryr.net/pioneers/html2.htm

Or you could just do a javascript in an onclick event that will change the location to the mailto address.

window.location ='bite@me.com';

You could even write a function, if you only plan to send email address's to one domain, like if its a personal web page where all email address's end in "@hotmail.com". Then in an onclick event do:
onClick="javascript:myEmail(myEmail);";

function myEmail(x)
{
window.location = x + "@hotmail.com";
}

Hope this helps :)
________________________________________
I have proof-read this post 500 times, but I guarantee you'll still manage to find a flaw.

Share this post


Link to post
Share on other sites
I don't know the context of how you want to use this on your website, but on my website I wrote PHP script to handle e-mailing. The end-user never gets mine or any of my members e-mail addresses unless he/she is replied to, since they e-mail through a normal form. That form is passed into a PHP handler that pulls the members e-mail address from the database and sends the e-mail off without the users browser ever recieving any trace of an e-mail address.

It's a little more complicated, but without hacking the database it (should be) impossible for anyone to pull an e-mail address off my website

Here is my websites Contacts page: http://avclan.net/?page=contactus

Share this post


Link to post
Share on other sites
Quote

Just keep in mind.. any 'popular' methods (i.e. ones avail for download) are likely to be detected by spam crawlers. It's already proven that out of work programmers are 'for hire' to the spammers so keep that in mind.

One of the tricks I do I store the ASCII char values of the email address in an array, then call a function to construct the email address out of the array. Sometimes I'll even store it in reverse and read the array right to left for another layer.

Iota



I'm sure that's a possibility, but when there are so many fish that are easy to catch, why cast your net where the fishing's difficult?
...

The only sure way to survive a canopy collision is not to have one.

Share this post


Link to post
Share on other sites
If you do search in google for crawler or spider script. On my website I have a text file in the in the root folder that has code in it that tells spiders and crawlers to not look at folder I put in this file. I am on my laptop right now but on my desk top I have link. There is a website that allows you to test this file as well. it is works night

Share this post


Link to post
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.
Note: Your post will require moderator approval before it will be visible.

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.

0