Sometimes I need to copy many link addresses and I would like a hotkey for this. As far as I know there is no browser that supports that out of the box. Is it possible to customize this behavior?

I want to assign a shortcut or hotkey like "CTRL + c" (e.g. CTRL + d) to the function "Copy link address". In Chrome I need to rightclick the link and then select the option.

Is this possible in Chrome or Firefox? I would prefer those two but if it not possible I would accept another browser as well.

I came up with the following temporary solution for Chrome (Thanks to surfasb)

AutoHotKey Script

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#c::
Click right
Loop 5
{
    Send {Down}
}
Send {Enter}

I would still prefer a browser customization, but until someone posts one I will go with this.

link|improve this question

feedback

3 Answers

up vote 2 down vote accepted

You can use AutoHotkey to make this happen.

link|improve this answer
Thank you. I wrote a script (see above). If no better solution comes up I will accept yours. – ayckoster Sep 18 '11 at 15:22
Yeah, I know it isn't a perfect solution, but it's the fastest and the most benefit. I'm sure if you pay a Chrome dev ten bucks he'll write one real quick. My 2 cents. – surfasb Sep 18 '11 at 16:54
On that note, it won't be the first time I've bribed a freeware dev to include a feature I've want. . . – surfasb Sep 18 '11 at 16:57
feedback

From your script, it looks like you're doing this:

  1. Float over link with mouse
  2. Hit your shortcut key (Ctrl+C)

You could instead;

  1. Right click the link
  2. Press "a" (firefox) ("Copy Link Location")
link|improve this answer
Ah, nm you deleted the script. – surfasb Sep 18 '11 at 17:01
I was referring to the script in the OP – RJFalconer Sep 18 '11 at 17:05
feedback

You can copy all links to clipboard with the Firefox linky plugin.

link|improve this answer
Thank you for the tip, but I do not want to copy all addresses. I usually browse very fast through different pages and want to select specific links. Still in some cases linky could be useful. – ayckoster Sep 18 '11 at 13:50
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.