Nov 24, 2009

Email Address Protector - Protect your email address fron harvesto

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

Email Address Protector - Protect your email address fron harvesto

pbolduc
As I was working on a sub domain for my new site I decided to protect the email addresses on the site with a simple javascript to prevent harveters from grabbing them and flooding the mail box with spam.

Hadn't seen the script in the forum yet so I thought I'd share it.

Change the information in blue to yours and place this code where you want the link to show. Left as is no line decloration will appear under the link. If you want the link underlined then change none to: underline

<script language="JavaScript"><!--
username = "usernameHere";
siteURL = "siteURLHere";
document.write('<a href=\"mailto:' + username + '@' + siteURL + '\"style="text-decoration: none;"> Contact Us</a>');
// End -->
</script>

 

 

 


Comment/Reply (w/o sign-up)

jipman
It might be a little better if you convert ESCAPE that javascript or to convert every character to a char(...) / chr (...) value.

Comment/Reply (w/o sign-up)

pbolduc
QUOTE (jipman @ Dec 28 2004, 04:49 AM)
It might be a little better if you convert ESCAPE that javascript or to convert every character to a char(...) / chr (...) value.
*



Please explain more clearly... thanks

Comment/Reply (w/o sign-up)

coder2000
I think he means encode each into a chr value rather than straight text.

Comment/Reply (w/o sign-up)

pbolduc
QUOTE (coder2000 @ Dec 28 2004, 02:23 PM)
I think he means encode each into a chr value rather than straight text.
*



Perhaps this is what he was saying?

<script language="JavaScript"><!--
purpose = "mailto:";
username = "usernameHere";
siteURL = "siteURLHere";
linkName = "Contact Us";
document.write('<a href=\"'+purpose+username+'@' + siteURL + '\"style="text-decoration: none;"> '+linkName+'</a>');
// End -->
</script>


This script works the same and I guess it would be a little bit more secure

pete unsure.gif

 

 

 


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : email, address, protector, protect, email, address, fron, harvesto

  1. How To Create An Icon In Web Address Bar?
    (6)
  2. Easy Email Script
    (1)
    I found this off some site you can edited it to if you don't understand something on this just
    make post .. this is a script I customed for one of my sites .. I decided to show you it CODE
    This one is for an html file. Your NickName : Your Email: File
    Name: File Link: Describe What The Program is For:
    now this next code should be name email.php CODE echo "Hello, $name."; echo " "; echo
    "You have successfully Submited The Request We Will Get Back To You Shortly"; echo ....
  3. Anonymous Email
    Send an anonymous email (11)
    buddies try this. anonymous emailer !!! http://lag.name/anon.php this script will allow u to
    send anonymous email to sum1. /tongue.gif" style="vertical-align:middle" emoid=":P" border="0"
    alt="tongue.gif" /> try it. u can mail from admin@astahost.com to sum1 /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />....
  4. Code To Send An Email From A Form
    (10)
    HTML form action=" http://www.bool.co.il/cgi-bin/bu.cgi?page=send2friend&id=8006 " method="
    post "> font face=" Arial "> input type=" text " name=" sender "> /font > the sender: br > input
    type=" text " name=" sender_email "> sender's mail: br > font face=" Arial (hebrew) "> input
    type=" text " name=" receiver "> /font > to: br > input type=" text " name=" receiver_email ">
    email Of receives the announcement: br > font face=" Arial (hebrew) "> input type=" text " name="
    subject "> /font > the subject: br > input type=" submit " value=" send "> /....
  5. Let visitors email you!
    Simply the best emailer script!! (7)
    Hi!!! I just wanted to show you the very nice emailer script I've created for my site. The
    script lets your visitors email you just by filling out a form that you can place anywhere on your
    site. All you have to do is to copy and paste the script below. The only thing you'll have to
    change about it is the email adress where you want to recieve your form mails. This script has been
    working really well form me, and I hope it will for you as well. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Good luck, and I hope you can
    make i....
  6. Free Hosting , uploading should be through email
    Free Hosting supports email upload (6)
    I need an free hosting which supports uploading through email ........... dont want to use
    browser or FTP .....
  7. Html Protector
    (25)
    Html Protector is by far the best page protection i have ever seen it compleatly encrypts the html
    so taht it can not be read no matter how you open it i even chnaged the exstantion to .txt and tryed
    to edit in old dos but stil get same result of no content use google to find it....

    1. Looking for email, address, protector, protect, email, address, fron, harvesto

See Also,

*SIMILAR VIDEOS*
Searching Video's for email, address, protector, protect, email, address, fron, harvesto
advertisement



Email Address Protector - Protect your email address fron harvesto

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com