5

Let's say I am working while listening to an online music playlist.

When I notice a track I like, I copy-paste the URL for further reference.

How to copy the URL without opening the tab, which is showing a distracting and potentially not-safe-for-work music video?

I am open to alternative solutions, but an add-on that would add a "Copy URL" item to this right-click menu would be perfect:

enter image description here

2
  • 1
    What about bookmark this tab - slightly different workflow but would that work for you? That option is provided by TabMixPlus, if you think that's close enough I'll provide full instructions as an answer rather than comment. Mar 20, 2014 at 4:44
  • Bookmark this tab would be better than nothing indeed, feel free to propose it as an answer :-)
    – Nicolas Raoul
    Mar 20, 2014 at 6:26

3 Answers 3

5

I use Tab Mix Plus :: Add-ons für Firefox - Mozilla Add-ons, which can do that and much more:

Tab Mix Plus context menu
Context menu of Tab Mix Plus (click image for larger variant)

As you can see in the screenshot, I'm on the right-most tab, while I opened the context menu of the left-most tab. Using the highlighted menu entry, I get the URL of the latter copied to the clipboard.

Tab Mix Plus can do a lot more things for you, which I'm not going to explain in detail here (as you didn't ask for, and the list would get quite long). Some you can already see from the screenshot:

  • duplicate/protect tabs
  • optionally open links supposed to go to separate windows in new tabs instead
  • suppress popups
  • scroll or stack tabs
  • close/re-open tabs, or "close all tabs left/right of this"
  • ...

I'm using TMP for years already, and it's always one of the first addons installed on a new machine – could not do without. Dev is very responsive and helpful, development steady. In short: heartly recommended :)

5
  • 1
    and looking at my own screenshot that was there and I just never use it and totally forgot about it. Mar 20, 2014 at 14:42
  • LOL Out of curiosity: your context menu has a "Open in a new identity profile" entry. Where does that come from? Sounds interesting.
    – Izzy
    Mar 20, 2014 at 14:56
  • Are you sure? I never noticed that before and I'm not seeing it now Mar 20, 2014 at 15:06
  • oh I see OP @Nicolas Raoul has it (and a different spelling of my name) Mar 20, 2014 at 15:07
  • 1
    I'd say it is from this question Mar 20, 2014 at 15:08
4

It is a slightly different workflow but very similar results; I would recommend Tab Mix Plus (TMP). Specifically I would recommend you enable the bookmark tab entry on the tab context menu (addons->TMP->option or Tools->TMP Options and check the bookmark tab entry in the Menu->Tab Context Menus page (see below for screenie).

Then just right click any tab you want and click bookmark tab. This will bookmark the clicked on tab (not necessarily the active tab) and bring up the little bookmark menu off of the star for you to adjust the bookmark if you want.

enter image description here

Some people do complain that TMP is bloated; however I have not observed any functional slow down - no actual timing data but I think that it does minimally slow down initial Firefox launch but not enough to bother me or even be 100% sure. TMP does have a LOT of features but nothing that will change your workflow unless you tell it to through the very nice configuration options:

If you are using alpha (Aurora) you'll want the dev version though that is often not quite 100% functional. I pretty much always use Aurora and I have never noticed any crashing from the dev TMP, however often some features do temporarily fail as changes are made to Aurora - like currently Session handling/undo close tab features.

enter image description here

1
  • +1, accept points to Izzy who has spot the Copy Tab URL item in the same menu ;-)
    – Nicolas Raoul
    Mar 21, 2014 at 11:09
1

As Tab Mix Plus isn't compatible with Firefox >= 57 I'd suggest you this way to go:

  1. install Copy URL To Clipboard.

After installing it you'll find a new "Copy URL To Clipboard" item in tabs context menu (as well as a "Copy Page URL" item in documents context menu) plus a new tool button that opens a popup when clicked (see image below). This extension will give you options to copy to clipboard URLs and titles of your current tab or your current selection of tabs or the ones of all tabs opened on current Firefox window (including pinned ones) with option to exclude the current one. (When I say tabs on current Firefox window I mean only those = if you have more than one Firefox windows opened the tabs opened on the others windows won't be taken into account);

  1. open the other(s) tab(s) you want to copy;

3-a. right click on the tab you want to copy (it doesn't need to be the currently active one) and choose "Copy URL to clipboard > Copy Tab URL > URL";

OR

3-b. either use the apposite Copy URL To Clipboard tool button or right click on the active tab and choose "Copy URL to clipboard > Copy Other Tabs URLs > URL" (this might come in handy when you have more than one tab URL to copy);

  1. paste it where you need to.

P.S. There's more addons that you could use in similar fashion to achieve the task, wanting to suggest a couple more I'd point at: CopyTabTitleUrl or Copy Selected Tabs to Clipboard.

3-b Copy Other Tabs URLs

That said, if you want you could also copy a link URL without need to open it in a new tab by simply right-clicking on it and selecting "Copy Link Address" command from the context menu.

2
  • Could you please post a screenshot showing how to copy the URL of a tab which is not the currently active tab? That's the main point of the question :-) Thanks a lot!
    – Nicolas Raoul
    Dec 8, 2020 at 1:12
  • Hello @NicolasRaoul. The screenshot I posted in the answer already shows that: the "Copy Other Tabs URLs" does just what it states BUT you can't select which tabs to take and which not, it copies ALL the tabs URLs, except the active one. If you need to copy one tab URL in particular then you can simply right-click on it and use the "Copy Link Address" command as I said (right-click doesn't change your currently active tab). If what you need is choosing which to copy among all other tabs then, that's not possible with the extension I suggested here I'm afraid
    – danicotra
    Apr 17, 2021 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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