Is there a way to copy the link URL in Safari (Mac OS X) without using right click?

Solution 1:

Depending on what you are trying to do with the link, it may be sufficient to drag it. If you click and drag a link in Safari, you can drop it in many places and get the desired functionality. For example, if you drop it in a text editor, it will drop the link URL (for plain text) or a formatted link using the title from the page. If you drop it on your desktop, you will get a webloc file. If you drop it on the Safari URL bar or tab, that tab will load the link.

If you really need to copy the link, one possibility is to use spotlight as a easy-access text field. Start dragging the link, hit Command+space (or whatever you have it set to) to pop up spotlight, drop it in the search field, and copy.

Solution 2:

Select Command-L That will highlight the URL field Then just select Command-C to copy.

This is the quickest keyboard shortcuts I have found.

Solution 3:

Is there a wider description of your use case for this, or is this the only function you'd like to have in Safari?

i.e. You can use an Automator action to return all links and pass that to another action, if you are trying to pick up all links in a page via Get Link URLs from Webpages if you are attempting to automate grabbing links in general, not just the one you are hovering over.

Solution 4:

This can be done using the StopTheMadness extension (paid).

Simply hover on any link and press ⌘ + C. URL of the link will be copied to the clipboard.

It is available in the Mac App Store.