rcerrejon
4/8/2016 - 1:14 PM

Anti Spam Email

Anti Spam Email

$("span.mailto").each(function(){
    var at = / at /;
    var dot = / dot /g;
    var addr = $(this).text().replace(at,"@").replace(dot,".");
    $(this).after('<a href="mailto:'+addr+'" title="E-Mail senden">'+ addr +"</a>");
    $(this).remove();
});