> Why should opening regular links be Javascript functions?
Because they are tracking clicks on each button that goes to an open page. It's not really over engineering, but side effect of good old tracking.
Because they are tracking clicks on each button that goes to an open page. It's not really over engineering, but side effect of good old tracking.
function trackClick(){
//steal users' privacy here
return true;
}
$(document).ready(function(){
$('a').click = trackClick;
});