19

enter image description here

How do I select a middle part of an hyper-link as you see in the image above?

You can also suggest me a browser extension or a userscript that converts all links to text in a selected sub part of the page after pressing a hot-key.

(Browser: Google Chrome)

hkBattousai
  • 3,101
  • 14
  • 44
  • 60

7 Answers7

14

Try the ToggleLink add-on.

Interestingly, I just found out that pressing Alt allows you to select part of a link with the mouse in Firefox! See if by some chance that works in Chrome as well.

Karan
  • 55,947
  • 20
  • 119
  • 191
  • 1
    Wow! This extension is even better than what I was looking for. Thank you so much! – hkBattousai Oct 02 '12 at 17:50
  • 2
    @hkBattousai You don't even need the extension. Check out the tip about `Alt` in this answer. Unless you do this a lot and don't want to have to press the key. – Fiksdal Jun 14 '16 at 09:25
  • 1
    That Alt tip is great! Works in Safari/Chrome on a Mac, no need for extensions. Thanks – samiles Oct 03 '16 at 13:31
7

I had the same question, and because there wasn’t a solution for GNU/Linux, I asked the question on Ask Ubuntu.

There, user264504 answered that it’s possible by holding Super + Alt while selecting the text with the mouse.

(As my question was about Firefox and got closed as duplicate for this one, which is about Google Chrome, I think it makes sense to also give solution for Firefox. There is the add-on: Link Toggler.)

unor
  • 3,066
  • 3
  • 27
  • 54
4

If you click right above the link, right when the cursor changes from a hand back to a pointer, and drag across from that point, you can select the middle part of a hyperlink. I just tried it out in Chrome.

Jeff Lockhart
  • 231
  • 2
  • 5
4

I know you're asking about Chrome, but Firefox allows it when you do the selection while holding the alt key pressed, so this may be worth trying with Chrome too.

QSQ
  • 450
  • 3
  • 8
2

For firefox and opera alt + mousedrag as stated in other answer.

For Chrome searching text and pressing esc.
enter image description here

Here I searched for "I save" then press esc and spread the selection with arrow. Note: Ctrl + g to switch between next occurance of searched text "I save".

vusan
  • 173
  • 7
1

The best addon for firefox is the drag-selected link text. With it, you can select link text just as the normal text. Very convenient, I highly recommend it!

enter image description here

1

You can use tampermonkey with this script It allows you to disable drag and drop, and select inside the link https://greasyfork.org/en/scripts/789-select-text-inside-a-link-like-opera

vozman
  • 119
  • 4