Hacker News new | ask | show | jobs
by tiborsaas 2511 days ago
> 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.

1 comments

  function trackClick(){
     //steal users' privacy here
     return true;
  }
  $(document).ready(function(){
    $('a').click = trackClick;
  });
The page includes hotjar, so you can draw something nice with your mouse movements :)