dontSpamMe AT someDomain DOT com

Discussion in 'HTML & Website Design' started by RogerDodgr, Feb 4, 2010.

  1. #1
    Hi,

    I am thinking of putting an email address on a website I own, but am wondering how to reduce the level of spam it will generate.

    I will use a separate email address and forward it to my personal email. But how effective is the above strategy that I see on some websites. The deal is I am soliciting service proposals, so I will post a real eMail address on the site (so that my proposal will be taken serious by business minded persons); therefore, I do expect some spam. But, how can I reduce the level of spam?
     
    RogerDodgr, Feb 4, 2010 IP
  2. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Don't know if this will work; but try using JavaScript to document.write and base64-decode or otherwise mangle a string? Most crawlers I don't think process JS.

    e: this might work,

    var a = 'last';
    var b = 'first';
    var c = '@';
    var d = 'com';
    var e = 'domain';

    document.getElementById('emailSpan').innerHTML = b+a+c+e+'.'+d; // produces


    Most "businesses" usually do not have Javascript disabled, so plaintext, copyable email text (not an image, not mangled to the user) would appear.
     
    krsix, Feb 4, 2010 IP
  3. RogerDodgr

    RogerDodgr Well-Known Member

    Messages:
    267
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    I did not think of javascript. Good idea; thx.
     
    RogerDodgr, Feb 5, 2010 IP
  4. xenobiologist

    xenobiologist Active Member

    Messages:
    165
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #4
    I would setup a spam filter for your email and have them saved to a spam folder. That way you can fight spam somewhat and make sure that you're not losing important messages at the same time.

    Putting your email address out there will create some spam so you'll just have to learn to deal with a little.
     
    xenobiologist, Feb 5, 2010 IP
  5. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #5
    twistedspikes, Feb 5, 2010 IP
  6. HaloJones

    HaloJones Active Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #6
    Very interesting tip - Thanks!

    I've always used images but they're not really satisfactory.

    Sorry to be a bit dim though, how exactly would I insert that into my html?

    e.g. If I had...

    <body>
    
    <p>email me at: </p>
    
    </body>
    Code (markup):
    How do I use your code?

    Cheers
     
    HaloJones, Feb 7, 2010 IP
  7. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    <p>Email me at <span id="emailSpan"></span>.</p>
    <script type="text/javascript">
    var a = 'last'; var b = 'first'; var c = '@'; var d = 'com'; var e = 'domain';
    document.getElementById('emailSpan').innerHTML = b+a+c+e+'.'+d; // produces
    </script>
     
    krsix, Feb 8, 2010 IP
  8. HaloJones

    HaloJones Active Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #8
    Superb!

    Thanks so much for that. I know it may be a bit simple but Javascript has always baffled me!

    Really appreciated.
    :D
     
    HaloJones, Feb 8, 2010 IP