iamMG / Drag Link to Copy Text

Published:

Version: 1.0+d721f51

Summary: Copy text of any link by simply dragging it.

Copyright: 2019, iamMG (https://openuserjs.org/users/iamMG)

License: MIT

The Problem

If you are like me who frequently copies text of links for some reason or another, then you might know how irritating it can be to select the text without accidentally opening it or selecting the blank spaces around the link.

The Solution

Using this script you can copy the text simply by dragging and dropping the link for any distance.
Drag Link to Copy Text

The Drawback

This script poses an obvious problem when you try to drag the link and drop it to create another tab, which causes the latest item on your clipboard to be replaced. (Although I don't think there are many people who do this.)
I will try to find a workaround.
Note: Since Windows 10 October 2018 Update, the in-built clipboard can be accessed using Win + . to mitigate this issue.

Rating: 0