Solved

Email address on web page

Posted on 2016-11-01
4
49 Views
Last Modified: 2016-11-02
Is there any benefit to change all email address to a picture image on our website ?

Thx
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Assisted Solution

by:Serena Hsi
Serena Hsi earned 125 total points
ID: 41869537
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
 
LVL 22

Accepted Solution

by:
Kim Walker earned 250 total points
ID: 41869566
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
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 125 total points
ID: 41869584
I use email forms on all my websites so I don't have to expose email addresses to scammers.
0
 
LVL 57

Expert Comment

by:Julian Hansen
ID: 41869751
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question