WebmasterLingo
Windows 2003, cPanel & DirectAdmin Unix Web Hosting

Go Back   WebmasterLingo > Programming Corner
User Name
Password

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old February 17th, 2004, 09:29 PM   #1
circuitjump
Registered User
 
Join Date: Jan 2004
Posts: 57
circuitjump is off the scale
Send a message via AIM to circuitjump
Email Javascript and email grabbers

Hi all,

I created the javascript below to prevent email spiders from grabbing it. I don't really know if it works to tell you the truth so I am posting it on here to see what others opinions on this matter is. Let me know what you think.

function Email(user_name,domain_name,extention) {
var emailLink
emailLink = '<a class="emailLink" href="';
emailLink += 'mail'+'to:'+user_name+'@'+domain_name+'.'+extenti on;
emailLink += '">';
emailLink += user_name+"@"+domain_name+"."+extention;
emailLink += '</a>'
document.write (emailLink);
}
circuitjump is offline   Reply With Quote
Old February 20th, 2004, 12:14 PM   #2
Matrix28
Registered User
 
Join Date: Feb 2004
Posts: 33
Matrix28 is off the scale
That should work. Have you tried it?
Matrix28 is offline   Reply With Quote
Old February 20th, 2004, 12:24 PM   #3
circuitjump
Registered User
 
Join Date: Jan 2004
Posts: 57
circuitjump is off the scale
Send a message via AIM to circuitjump
Yep, I tried it. It looks like it's working so far. though, I have no real way to check. Unless I can get something that emulates a email spam bot.
__________________
Coltura Creativa: Create.Critique.Conquer
Articles & Reviews
circuitjump is offline   Reply With Quote
Old February 20th, 2004, 02:24 PM   #4
Matrix28
Registered User
 
Join Date: Feb 2004
Posts: 33
Matrix28 is off the scale
Yeah, would be a little hard!
Matrix28 is offline   Reply With Quote
Old February 21st, 2004, 11:59 AM   #5
whiteknight
Registered User
 
Join Date: Jan 2004
Location: Philadelphia
Posts: 42
whiteknight is off the scale
Send a message via AIM to whiteknight
to be honest, i have be trying to write one of my own, so that i could figure out a solid way to stop them. when I get a beta working, i'll lt you know.
whiteknight is offline   Reply With Quote
Old February 21st, 2004, 12:09 PM   #6
circuitjump
Registered User
 
Join Date: Jan 2004
Posts: 57
circuitjump is off the scale
Send a message via AIM to circuitjump
hey maybe we can team up and build one bad @$$ piece of code!

What do you think?
__________________
Coltura Creativa: Create.Critique.Conquer
Articles & Reviews
circuitjump is offline   Reply With Quote
Old February 21st, 2004, 11:30 PM   #7
whiteknight
Registered User
 
Join Date: Jan 2004
Location: Philadelphia
Posts: 42
whiteknight is off the scale
Send a message via AIM to whiteknight
at this point, i would sell my soul for a good programming project to work on.

unfortunately, an online quiz I took said my soul was only worth 42.50$, so i might need to pawn off my TV too.
whiteknight is offline   Reply With Quote
Old March 7th, 2004, 10:24 AM   #8
circuitjump
Registered User
 
Join Date: Jan 2004
Posts: 57
circuitjump is off the scale
Send a message via AIM to circuitjump
hehe, well, if you're up for it, let me know. I would be down with making one.

__________________
Coltura Creativa: Create.Critique.Conquer
Articles & Reviews
circuitjump is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 06:30 AM.

JustEdge Dedicated Servers