Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    vin
    vin is offline
    New Coder
    Join Date
    Jan 2003
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Anti email address theft + Mouse over

    I woud first of all like to post this nifty little script to stop robots stealing your email address from your website:

    <script LANGUAGE="javascript">

    var first = 'ma';
    var second = 'il';
    var third = 'to:';
    var address = 'USERNAME';
    var domain = 'HOTMAIL';
    var ext = 'COM';
    document.write('<a href="');
    document.write(first+second+third);
    document.write(address);
    document.write('@');
    document.write(domain);
    document.write('.');
    document.write(ext);
    document.write('">');
    document.write('Email Me</a>');

    </script>

    All you need to change is the Address, Domain, and Extension.

    Secondly, I would like a little help with adapting this code. My problem is that I want to incorporate this code into a mouse over code that exchanges the picture. (see here:Email Test page, where I have put the two codes on one page but they are not combined properly yet.)

    The end result would be a mouse over picture exchange that the visitor can click on to email me and no robots can steal my email address.

    Any one know how to combine these two scripts effectively?

    Vin

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's a bit complicated, isn't it?

    Why don't just use something more "friendly" like...

    <a href="mailto:jhghj+zxcxz.com" onclick="this.href=this.href.replace('+','@')">mail me</a>


    btw, read the Read this before you post a script thread
    Last edited by Borgtex; 01-30-2003 at 01:36 AM.
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #3
    vin
    vin is offline
    New Coder
    Join Date
    Jan 2003
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for that Borg.

    I had not realised that there was a different set of rules for each string on this board. Perhaps I should move over to the general section.

    Is the script that you posted really as effective as the one I posted? I mean, will your stop all robots from stealing your email address?

    Vin

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts
    they will steal a wrong address (that was a simple example, you can mask the address as much as you want), so I think that the final result it's the same, and also you (and a lot of other sites using the same system) can discourage them from using a robot if they end with a large & useless wrong emails database
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #5
    vin
    vin is offline
    New Coder
    Join Date
    Jan 2003
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Borg,

    So if I use your code (with a '+' instead of a '@') , the robots will still steal my address and then its simply a matter of the robot's owner inserting missing '@' sign.

    That really doesn't sound very secure. Or do you feel that the robot's owner will not be bothered doing this?

    Vin

    "Live simply so that others may simply Live."

  • #6
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts
    as I said it was a simple example: possibilities are endless:

    mailto:myemail---@---mydomain---.com (remove all the ---)
    mailto:m$y$e$mail$@$mydomain.com (remove the $)
    mailto: mydomain.com@myemail (swap domain & email)

    and it's still more practic than using an script every time to write the address
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #7
    vin
    vin is offline
    New Coder
    Join Date
    Jan 2003
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My point was, that the difference between the script that I posted and all of your examples is this:


    * With your examples the owner of the robot can still correct the address and use it to spam me.

    * But with my script the robot is unable to recognise it as an email address and therefore the owner has nothing to work with and can not spam me.

    Woud you agree with that reasoning? I am not entirely sure if this is how it works so I do appreciate your opinion, thanks.

    Vin

  • #8
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No.
    As you can scramble the address in infinite ways, adding instructions to the robot to figure it out would be a waste of time & resources.

    Your solution is secure, sure. But imagine how tedious must be creating a large contact list...
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #9
    vin
    vin is offline
    New Coder
    Join Date
    Jan 2003
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cool.


    Thanks Borgtex.




  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •