Copy URLs from highlighted text using the Copy Selected Links extension for Firefox
About a month ago, we reviewedÂ a Firefox extension called Copy All Tab URLs, which allows you to copy the links of every tab in a single click. If you want an easy way to copy all links from highlighted text, there is an add-on for that, Copy Selected Links.
The extension requires 2 permissions: Input data to the clipboard, and display notifications to you. The first permission is pretty obvious, it is required since the add-on is meant to "Copy Selected Links" and store them in the clipboard. I'll explain why it needs the other permission a bit later.
How does it work?
Copy Selected Links does not have a toolbar icon. You have to use it from Firefox's right-click menu. But don't just right-click anywhere ,like on an image or video or an empty space on a page, because you wont see the add-on in the menu.
Instead, select some text and then right-click anywhere and you should see a new menu item called "Copy Selected Links". Say for example, you selected some plain text that didn't contain any URLs, you will see a pop-up notification in the bottom right corner that says "No Links found". The message disappears in a couple of seconds.
Try selecting some text that has a link. For e.g. you could select this article's text, or the sidebar on the right, or from any web page. Click on the add-on's menu item. You may notice something, or the absence of something. The extension does not display a pop-up when links are found in the selected text.
Paste the contents in a text field or a word processor and you will see that the add-on did copy the selected links to the clipboard. Wouldn't it be nice if it displayed a notification when links were copied? Head to the add-on's options page. There are just two settings available. The second one is enabled by default, and is the one I mentioned earlier. It displays a notification when no links were copied.
Enable the other option that's labeled "After copying at least 1 link". Go ahead and try it, copy some text that contains some links. Copy Selected Links will display a notification that reads "Copied x links to clipboard". X is the number of links which were copied, if there were two links, it says "Copied 2 links to clipboard". I would have liked it if it showed the links that were found, or a partial preview (in case of long links), but this is better than nothing
Copy Selected Links is quite nice, there are several ways in which it can be useful. Let's say you're on a web page that contains a lot of text that you don't need, but there are links that you want to copy. You don't have to waste time searching for the URLs. Select the entire text, and let the add-on extract the links for you.
Another example, there are multiple links in a paragraph, and you want to get them all. There's no need to copy each link, paste it in a text editor, switch back and forth between it and the browser. Copy the links in a single click with the add-on.
Personally I found Copy Selected Links to be very useful in detecting URLs which have been hidden discretely in articles. Sometimes websites place the source link (to a different website) inside a wall of text, and occasionally the link text is the same color as the normal text. It can be difficult to spot such links. Remember how I used the F key in Surfingkeys to display the visual links?
Copy Selected Links offers a pretty basic yet time-saving feature, without complicating your browsing experience. The extension is open source.Advertisement