Drag Link to Copy Text

Copy text of any link by simply dragging it.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
ChaliceChore
日安装量
0
总安装量
937
评分
8 1 1
版本
1.1
创建于
2019-04-10
更新于
2020-03-21
大小
1.7 KB
许可证
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 the link for any distance and dropping it. Drag Link to Copy Text

The Drawback

This script poses a problem when you try to drag the link and drop it to create a bookmark, 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.