Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 55
  • Last Modified:

Email address on web page

Is there any benefit to change all email address to a picture image on our website ?

Thx
0
AXISHK
Asked:
AXISHK
3 Solutions
 
Serena HsiMarketing ConsultantCommented:
For one, you won't get site scraped as often if your email addresses exist as images; but if you still use the image as a clickable mailto link, sadly that doesn't stop people from spamming you.. unless you can encrypt or prevent the email addresses from showing up in the web page source code.
0
 
Kim WalkerWeb Programmer/TechnicianCommented:
That depends on how important it is for people to be able to contact you. If you use an image and leave out the required alt parameter, sight challenged visitors who use screen readers will not be able to find your email address.

If it is important for them to be able to contact you and you want to hide your email address from scrapers and robots, there are websites that will create code for you to paste into your page. Or you can just add a contact form on your page and let the server-side script send the email.
0
 
Dave BaldwinFixer of ProblemsCommented:
I use email forms on all my websites so I don't have to expose email addresses to scammers.
0
 
Julian HansenCommented:
Obfuscating email addresses

This is how I define email addresses
<a href="" class="mail-link" data-d="derf"></a><br/>
<a href="" class="mail-link" data-d="ydnam"></a><br/>

Open in new window

JavaScript
<script src="http://code.jquery.com/jquery.js"></script>
<script>
var domain = ['somewhere','com']
$(function() {
  $('.mail-link').each(function(i, el) {
     var email = $(el).data('d').split("").reverse().join("") + '@' + domain.join('.');
     $(el).attr('href','mailto:' + email).html(email);
  });
});
</script>

Open in new window

I further obfuscate the above jQuery
Working sample here
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now