50

Firefox has multi-account containers that allow you to use the same website with several accounts, without having to use a different browser:

enter image description here

Problem: I always open tabs with CTRL-t because clicking takes too much time.

Question: How to open a new work-related tab with the fastest possible keyboard operation?

Nicolas Raoul
  • 10,711
  • 18
  • 64
  • 102

5 Answers5

47

As of version 7 of the Containers extension, ctrl+shift+1-9 works without any further add-on. From the release notes:

Set shortcuts in the add-on preferences panel: Ctrl + Shift + {Num}

Which containers correspond to which number can be configured in the add-on preferences.

As mentioned in other answers, ctrl+., tab also works.

On MacOS it's cmd+shift+{num}

Jonathan
  • 225
  • 2
  • 4
ricab
  • 928
  • 1
  • 9
  • 10
  • There's also Ctrl+Alt+1-9 that allows you to reopen the tab under a different container. – Ramid Jul 23 '20 at 08:56
  • Not working for me, would be useful if it did. – ricab Jul 23 '20 at 11:11
  • my bad, I mistook the unmodified version with the addon called Easy Container Shortcuts. – Ramid Jul 23 '20 at 16:41
  • 4
    For mac, use `Cmd + Shift + 1` through `Cmd + Shift + 9` – Mohammed Essehemy Dec 05 '20 at 20:14
  • 1
    Per the [7.0.0 release notes](https://github.com/mozilla/multi-account-containers/releases/tag/7.0.0) you can configure which keybind opens which container. You can do this by going to the plugin settings in Firefox. You'll see a list of 10 keybinds with adjacent dropdowns listing your containers. – Daniel Jan 10 '21 at 18:45
  • 2
    Yikes, this feature is really not there, yet. This doesn't consider the order _I applied_ to the different containers. Instead it seems to use the order in which containers were created. Not fun. – 0xC0000022L Feb 17 '21 at 09:55
40

According to the Multi-Account Container plugin page, you can use Ctrl + . to open the panel. Then simply press the down arrow (or tab) and enter.

Ctrl + . (period) keyboard shortcut is available to open the containers panel. You can then use tab and the enter keys to open new container tabs.

After Ctrl + . you can also use the numeric keys in order to select a container from the list. (Thanks cyberalex)

It doesn't seem to support opening a specific container with a designated shortcut.

wjandrea
  • 595
  • 8
  • 19
tone7
  • 501
  • 1
  • 3
  • 3
  • 7
    After Ctrl + . you can also use the numeric keys in order to select a container from the list – cyberalex Mar 26 '19 at 13:52
  • @cyberalex Nice, I edited that into the answer. – Flimm Jul 30 '19 at 15:45
  • Note if you have the extension pinned to the overflow menu, the numbers don't work until you press Tab twice – wjandrea Feb 27 '20 at 14:45
  • This is the better answer! – SarathMS Apr 28 '20 at 18:45
  • ... @cyberalex in order to select a container from the list, if you happen to have memorized in which order you created them. Because it doesn't go by display order with the numbering when using the shortcuts. Appears to be the order in which the containers were created. – 0xC0000022L Feb 17 '21 at 09:57
7

I use https://addons.mozilla.org/en-US/firefox/addon/easy-container-shortcuts/

AFAIK, there are no firefox built-in shortcuts

goreorto
  • 187
  • 1
2

expanding from @tone7 answer you could Ctrl + . (period) then use number to open corresponding tab

Ctrl + . + [1-9]
  • Same comment here: This doesn't consider the order _I applied_ to the different containers. Instead it seems to use the order in which containers were created. – 0xC0000022L Feb 17 '21 at 09:55
0

I couldn't find a way to do this natively with Firefox, but this extension seems to be doing what you are asking about: https://addons.mozilla.org/en-US/firefox/addon/easy-container-shortcuts/

According to the description:

Provides nine easy keyboard shortcuts to open new tabs on different containers: Ctrl+Shift+[1-9] / or Alt+Shift+[1-9] on OSx. You can also open a new tab on the current container by pressing Ctrl (Cmd) + Alt + T

enlavin
  • 49
  • 2
  • This is the same Firefox extension that is mentioned in the [currently accepted answer](https://superuser.com/a/1397467/90668). – Flimm Jun 25 '20 at 09:11