Open Link in New Tab, or Open New Tab

This script will send a middle-click if the mouse cursor is over a link (hand cursor), or send CTRL+T to open a new tab if not over a link.