Protection of mail addresses using base64 encoding
This commit is contained in:
7
themes/tsc_vfl/assets/js/mails.js
Normal file
7
themes/tsc_vfl/assets/js/mails.js
Normal file
@@ -0,0 +1,7 @@
|
||||
$(function() {
|
||||
$('.mail-link').each((idx, e) => {
|
||||
const hrefBase64 = $(e).attr('href');
|
||||
const href = atob(hrefBase64);
|
||||
$(e).prop('href', href);
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user