11

I'm looking for a Firefox extension that will copy both the URL and Title of the current page to the clipboard. Ideally, this would happen when you press ctrl-c without anything selected. Adding a context menu for it would also be acceptable.

I thought I used to have an extension to do this, but I can't find anything like it now.

7

My recommendation clearly is CoLT. How it matches your requirements:

  • Copy on Ctrl-C: Sorry, no – that would interfere with pre-defined shortcuts. But as your second option names Context Menu: Yes, definitely.
  • Copies title and URL of current page: Sure. In different formats. Even by formats you define.

So here come the goodies. First, it is operated via the context menu. The first image below shows how it looks like when there is some link selected; if there's not, "Copy Link Text..." simply reads "Copy page title and address". But the sub-items are the same. In the sub menu you see you can copy it in different formats. The latest version comes pre-configured almost as the screenshot shows, just FuseTalk has been replaced by Markdown, so it's fine for Stack Exchange.

Context Menu Configuration
CoLT: Context menu / Configuration Screen (source: CoLT Addon page; click images for larger variants)

The second screenshot shows you the configuration screen. As you can see, it's easy to define your own formats – so you can adjust it easily to whatever you need. A built-in help page gives advice concerning the placeholders used:

Edit Format with built-in help
CoLT: Customizing (source: CoLT Addon page; click image for larger variant)

I'm using CoLT for several years now, and I'm a big fan of it. The addon never let me down, runs stable and fluent, never caused any trouble – and I'm a frequent user of this addon, so I must know :) I couldn't do without it anymore, it's always one of the first addons I load to a fresh installation / new workplace. I can recommend it heartily.

  • Colt is an old style FireFox extension that won't work in the new FF browsers. I got so frustrated by the lack of functionality available to FF extensions nowadays, I switched to the Palemoon browser. It is a fork of FF from back when you could have an add-on bar before the hamburger menu. All the old extensions still work, including CoLT. – Stephen Ostermiller Dec 20 '17 at 8:26
  • 1
    @StephenOstermiller As you might have noticed, this answer is from 2014. As you might have missed, that's why I wrote another answer with an addon still working with FF57+. I share your concerns towards FF, and would look at Waterfox – which supports both worlds, old and new extensions. For some extensions, I'd then suggest to not update them to their WebExt versions due to lack of functionality – e.g. Stylish or Greasemonkey. – Izzy Dec 20 '17 at 8:52
5

Easy Copy (website)

  • Allows you to copy the link and title of current tab through context menu or keyboard shortcut
    • You can't use Ctrl+C to copy, Easy Copy uses Ctrl+Shift+Y instead.
    • Unfortunately, there doesn't seem to be an option to configure custom shortcuts, but I could be wrong.
  • Easy Copy uses pre-configured templates
    • You can also add various templates in the extension settings, in addition to the ones that come with the extension, even one that prompts you to enter text, which is then set as link text instead of the title (the "Notes Link" template).
    • You can use various variables while making new templates (with "%[variable]%"), an overview of the available variables is here: How It Works - Smoky Ink.
    • There are some template ideas over here, such as a Markdown template, a JIRA/Confluence template, etc.
    • A demonstration of various templates can be seen below.
  • You can also copy all open tabs.
    Via a workaround, you could copy your bookmarks in this way. First right-click on your bookmarks folder, then click "Open All in Tabs", and then use Easy Copy to copy all open tabs.
  • You can configure if you'd like some things to be omitted from copied link text, such as ": Add-ons for Firefox".

Templates Templates

"Title link" and "Markdown link" "Title" link and "Markdown" link

"Notes link" "Notes link" (you could also make a "Markdown Notes" link)

Formatting options Formatting options

5

I recommend Copy Urls Expert, a good balance in terms of customization and ease of use.

I needed a Firefox extension that could copy the web address (URL) of each tab into the system clipboard. Copy Urls Expert fits my needs and it matches the OP's requirements as well, so I've decided to add it to the answers.

From the Firefox Add-ons page that I've linked before:

Copy multiple urls (links) to the clipboard. Provides options to copy urls of all opened tabs and urls in selected text. You can customize the format of copied urls. You can also open multiple links from clipboard.

The source code is available on GitHub: copy-urls-expert

Here are a couple of screenshots I took while I was testing it:

Copy Urls Expert in action

Copy Urls Expert customization

As shown in the previous image, the output can be easily customized to the format required.

2

I found the one that I remember. It is called Copy Fixer. It is also available for Chrome.

There is also Copy Title and Description that adds a context menu for copying the page title, meta description, and meta keywords (but not URL).

2

As my answer with CoLT is only valid for Firefox < v57 (and CoLT won't be maintained anymore), a good replacement is Format Link: excellent support by the dev.

Again, no Ctrl-C directly on the page, but a context menu is available. There's also a toolbar button available which lets you edit the captured text, and switch between the formattings. Next to some preconfigured formats, you also can define your own.

toolbar button opened context menu
Format Link: toolbar button (opened), context menu entry (click images for larger variants)

For the context menu you can either have your preferred format as single entry, or a sub menu with all configured formats. Unfortunately, not both at the same time – again a limitation of Mozilla's WebExt API.

A Plus of this addon is: If you mark some text anywhere on the page, and then use the context menu to capture the URL (either of a link on the page when right-clicked on it, or of the entire page when right-clicked in an empty area), the marked text will be taken as description for the link.

Note however that none of the new WebExt stuff can work on Mozilla's own pages. That's not the fault of the AddOn devs, but of Mozilla locking that (in the API and on their site). Remember that compared with the previous API, WebExt is very limited – and many AddOns lost functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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