The code below makes all the links to do nothing. If we want to define a smaller set of links we can change the selector.
$("a").on("click", function(e){ e.preventDefault(); });