How do I select a hyperlink as text in a browser? [duplicate]
If you are using Chrome, you can right click on the link, select Inspect element
, and double click on the text between the <a> </a>
tags, followed by Ctrl + C. It's not ideal, but can be less fiddly than selecting the text with the mouse.
Personally, I just drag the cursor over the text I want and hit Ctrl+C, It works 99% of the time, however, I would be interested to see if anyone else comes up with a better solution!
Edit -
On the odd occasion when you can't drag around an exact hyperlink for some reason (e.g. weird CSS causing problems) I try and copy more than is needed then paste into notepad and then copy the exact bit I need.
In the worst case scenario, I do a Ctrl+A then Ctrl+C in order to copy the entire page... some fancy graphical sites really have problems selecting bits of text - but I have not done this in some time.
If you use Firefox, you can use the Copy Plain Text add-on (most recent version available here). This will allow you to select text and copy the basic text as it is via a right-click.
If you're like me and can't be bothered to hit Ctrl+C each time, you can also install the AutoCopy add-on. After installing Copy Plain Text, you'll need to check off the box in AutoCopy's options to enable the plain text feature.