We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c1c9ae commit 881a6fdCopy full SHA for 881a6fd
content_scripts/link_hints.coffee
@@ -31,8 +31,9 @@ COPY_LINK_URL =
31
indicator: "Copy link URL to Clipboard"
32
linkActivator: (link) ->
33
if link.href?
34
- HUD.copyToClipboard link.href
35
url = link.href
+ url = url[7..] if url[...7] == "mailto:"
36
+ HUD.copyToClipboard url
37
url = url[0..25] + "...." if 28 < url.length
38
HUD.showForDuration "Yanked #{url}", 2000
39
else
0 commit comments