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

I am running Google Chrome 5. How can I select hyper link text using the mouse with, for example, CTRL or ALT keys?

share|improve this question
up vote 14 down vote accepted

The answer is:

Put the mouse cursor below the hyper link just after the cursor changes to the arrow. Now press the left button and move the mouse until the required text is selected. If you put the cursor above the hyper-link it does not work in most cases.

share|improve this answer
1  
my intuition told me to do this too. but this isn't working for me on chrome 38 on a mac. they made me use a mac. – Alexander Taylor Nov 4 '14 at 10:22
    
This does not always work. – eegg Nov 5 '15 at 15:23
    
This does not allow selecting only a middle section of a link. – Louis Jan 26 at 12:58

Try this extension: Hyperlink Text Selector

share|improve this answer
    
It works! Thanks! :) – eegg Nov 5 '15 at 15:24

There is a chrome extension now called: ToggleLink: Select Text From Link

share|improve this answer
    
Tried that a while ago. Didn't work for me :( – Oliver Salzburg Feb 19 '13 at 16:37
    
@OliverSalzburg This extension is not working on some page like Gmail. But most site appear fine. See introduction of the extension on Google Web Store for detail. – Tony Lee Feb 19 '13 at 20:33
    
This works for me, it's a little bit tricky to use but it works. Just right click on the link and select ToggleLink(GetText) from context menu. – Iuliu Atudosiei Aug 19 '13 at 7:13

That's a problem with all browsers, because a click on the link executes it.

The workaround is to move the cursor a bit to the right or left of the link, until the cursor changes to its normal shape (not the link-type shape), then click and drag to select the text, finally using ctrl-c to copy the text to the clipboard.

share|improve this answer
2  
Actually my concern is the text in the middle of a long hyperlink. I can't believe it is a missing feature in all browsers! – mmonem Aug 9 '10 at 17:10
    
@mmonem: No way - need to select it all, then cut up using a text editor. – harrymc Aug 9 '10 at 19:04
    
@harrymc, do ypu have any reference for what you say? – mmonem Aug 10 '10 at 4:58
    
@mmonem: Only my personal experience. But as you can see, no other person on this forum has come up with another idea. – harrymc Aug 10 '10 at 6:24
1  
In firefox you can just hold <alt> and drag select text. It's annoying Chrome doesn't share this feature. – Morphit Oct 19 '14 at 20:48

This question is old, but it pops up as the top result in Google so I'd like to point out a better way with the latest Chrome (v44).

Start the selection just above the text (not below like the top voted answer). Just before the mouse cursor changes to a hand. This way you can drag to the right and don't need to mess with the left arrow (which doesn't seem to work anyway).

It would be nice if Chrome supported ALT-select like Firefox does, since the above method fails if there is selectable content immediately above the link text... but it's good enough most of the time!

share|improve this answer
    
I wish it was as easy as Chrome for Android, where you can select to copy the text or the hyperlink. Addin that to the righ click as a Chrome feature would be handy... – Metafaniel Oct 21 '15 at 14:40
    
This does not allow selecting only a middle section of a link. – Louis Jan 26 at 12:58
    
@Louis sure it does – rwired Jan 26 at 18:01
    
@rwired Maybe I did not say what I meant to say clearly. With your method, either the start of the selection or the end have to coincide with the start or end of the link. For instance, if the link text is This is a link. It is not possible to select just is a. You'd have to select This is a (or, if you start under the link rather than above, is a link). – Louis Jan 26 at 18:06
    
@Louis Perhaps this is something specific to individual mouse driver implementations (or trackpad/touch or maybe OS). I just checked both my desktop and laptop, and neither follows the link text on mouse-up, only on mouse-down. So I can easily select any part of a link so long as I start the selection just above it. – rwired Jan 27 at 4:54

You can use built in Developer Tools to locate hyperlink in raw html code and select any part of it.

  1. Right click target hyperlink and choose "Inspect Element" from drop-down menu.
    Developer Tools window will appear in the bottom with hyperlink highlighted in html page code.
  2. Double click hyperlink text (the one between <a>,</a> tags).
    Edit box will appear allowing to select (or edit) any part of hyperlink text.
share|improve this answer

I’m getting “undefined” with the “Copy Links” and “Copy Link Name” Chrome extensions that are supposed to copy the text.

The "Copy Link Text" extension under Blogging from Afuna seems to work for me.

https://chrome.google.com/webstore/detail/copy-link-text/lhdokmjpoambonhlpgcodobebebjdeil

https://github.com/afuna/copy-link-text

share|improve this answer

protected by Community Feb 13 '14 at 17:04

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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