$.fn.mailDefuscator = function() {

    anchor = $(this);
    var href = anchor.attr('href').replace('mailto:', '');
    var mail = href.replace(/\(at\)/, '@').replace(/\s*\(dot\)\s*/g, '.');

    anchor.each(function() {
        anchor.attr('href', 'mailto:' + mail);
        if (anchor.html() == href) {
            anchor.html(mail);
        }
    });
 
};
