Small pond over here, but I don't know any developers who specifically override the middle-click functionality - though the javascript link is something even I've done.
You don't specifically override the middle click. It happens when you override the click behavior -- middle click is included in that because it's still a click event, but with a slight difference in the event object being created. :-)