I love and use this idea, but the OP missed the Shift key. At least Firefox and Chromium use Shift+click to open the link in a new window and I'm pretty sure IE does that as well but I can't test that now.<p>This is what I use:<p><pre><code> $('.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 */
});
</code></pre>
I posted this comment on the blog, but it may reach someone else here, too.
I believed in the middle click, too, and lots of other special clicks... until I switched to a MBP. The I customized the touchpad using the Better Touch Tool and I haven't looked back since! :)
I use FF extension called DblClicker which lets me double-click a link into a new tab. It also closes (or duplicates) open tabs with a double-click.<p>Started using this when the middle-click on my mouse broke from too much use.
I have never run into this problem, and didn't see anyplace where Delicious does this... is it really that common? (Aside from the middle-click-js-link-and-weep thing?)