Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Let’s take this link as an example:

The artist John Doe shows us his cat!

I want to copy the text "John Doe" only.

Is it possible somehow?

The problem is that I can't place my cursor in the text, as then the link gets activated.

As a workaround I copy the whole text, paste it somewhere and cut out the relevant part.

share|improve this question

marked as duplicate by Karan, Mokubai, Louis, Brad Patton, 8088 Apr 17 '13 at 3:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

As this question was closed as duplicate (although the duplicate seems to be about a solution for Google Chrome), I can’t post the solution that worked for me here. I posted an answer there. tl;dr: holding Super+Alt while selecting the text. – unor Feb 13 at 14:31

To select link text in Firefox, hold Alt while dragging the mouse.

Note that this does not currently work in Chrome or Safari.

share|improve this answer
Don't know if this is specific to the OS, but while holding Alt and clicking (dragging), I move the whole window. (I'm using Ubuntu.) – unor Apr 17 '13 at 9:27
That must be a global keyboard shortcut for moving windows in that window manager. The Alt-click works in Windows and Mac (with the Option key). – Bradd Szonye Apr 17 '13 at 9:29
I see, thanks. I asked about it at Ask Ubuntu. – unor Apr 17 '13 at 9:38
If you're using KDE, I just ran across instructions for disabling Alt+Click here:… – Bradd Szonye Apr 19 '13 at 0:35

If you click right above the link and drag it will select part of it. This probably works in a most browsers but I only tested it in Chrome on Windows.

share|improve this answer
I have seen users recommend this elsewhere, but this does not work for me on Chrome for Mac. Clicking anywhere above the link selects the previous line, clicking anywhere below selects the next. – Bradd Szonye Apr 17 '13 at 1:21
Woah, didn't know that. It works, but only sometimes. Too often it selects the line from the beginning to the place where I clicked. Fiddly job. – unor Apr 17 '13 at 9:28
What browser and OS are you using? It always works for me in Chrome on Windows even if I click almost a centimeter above the link. – lopsided98 Apr 17 '13 at 12:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.