JavaScript : call javascript function on hyperlink click - YouTube

JavaScript : call javascript function on hyperlink click - YouTube