MacOS – Select and copy part of the text from a link in Safari

copy/pastehigh sierramacossafari

How can I copy only a section of text from a hyper link?

As in, if there is a link like below, how can I copy only a part of the text that is linked?

Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation.

I want to copy only the "nothing particular" words from the above text.

How could I do that?

On Chrome I had an extension that let me select links like normal text by holding shift.

I hope there is a similar way for me to select the text of a link in Safari.

Best Answer

  • I made the extension.

    enter image description here

    Because I don't want to pay $100 a year for Apple's Developer program, this extension has to be reloaded each time Safari is restarted.

    I never quit Safari though so I am safe ;)

    To install and use it:

    1. Make sure 'Show Develop menu in menu bar' is enabled in Safari preferences.

    enter image description here

    1. Clone my extension from GitHub

      git clone
      open -a Finder shift-to-select

    enter image description here

    1. Open the Extension Builder, Develop > Show Extension Builder.

    enter image description here

    1. Add an extension.

    enter image description here

    1. Choose the one you cloned from GitHub

    enter image description here