11 lines
362 B
JavaScript
11 lines
362 B
JavaScript
|
jQuery(document).ready(function($) {
|
||
|
|
||
|
// a n t i s p a m (hopefully)
|
||
|
$('a.mail').on('click', function() {
|
||
|
var href = $(this).attr('href');
|
||
|
var a1 = "adres" ; var a2 = "se em"; var a3 = "ail";
|
||
|
var goodMail = a1 + a2 + a3;
|
||
|
$(this).attr('href', href.replace('badmail', goodMail));
|
||
|
$(this).html(goodMail);
|
||
|
});
|
||
|
});
|