OK, so you don't actually want to remove al the links in the page; you want to change what happens when the user clicks on some of them.
Something like this should work:
M.
Something like this should work:
$("td.ms-vb a").click(function(e) { e.preventDefault(); // Do what you want here });