SupportCategory: Questionsprotecting top bar email address from robots
jeanluc0076 asked 7 years ago

Hi,
How do I protect the top bar email address from robots ?
Is there any way to insert a basic script like this ?
<script type=”text/javascript”>
function gen_mail_to_link(lhs,rhs,subject) {
document.write(“<a href=\”mailto”);
document.write(“:” + lhs + “@”);
document.write(rhs + “?subject=” + subject + “\”>” + lhs + “@” + rhs + “<\/a>”);
}
</script>
and then to call it within the top bar to replace the email address ?

<script type=”text/javascript”>
gen_mail_to_link(‘contact’,’domain.co’,’Get in touch’);
</script>

2 Answers
eDataStyle Staff answered 7 years ago

Hi
Please go there ( Wp-admin -> Theme Options -> General Settings -> Global -> Header Code) and the javascript ..

jeanluc0076 replied 7 years ago

Ok. How do I disable the email address from the top bar ?

eDataStyle Staff answered 7 years ago

We just remove the email !