This is what I use:
$('.some-snazzy-selector').click(function(ev){ if( ev.which == 2 || ev.metaKey || ev.ctrlKey || ev.shiftKey ) return true; e.preventDefault(); /* Awesome AJAX code goes here */ });
This is what I use:
I posted this comment on the blog, but it may reach someone else here, too.