Firefox – Detach a tab in firefox (move tab to new window), Firefox 58

browser-addonsfirefoxfirefox-quantumkeyboard shortcuts

In FF, I can move a tab to a new window by either dragging the tab out
of the browser, or right clicking the "move to New window" option from
the context menu. is there a shortcut key to move the current tab to a
new window without dragging or using the context menu, or a way to set
one up?

This question was answered for older versions of FF (see shortcut key to detach a tab in firefox (move tab to new window) )
The solution used Keyconfig, which is no longer supported by FF 58.
There is a somewhat similar tool, called Shortkeys.

However, the code proposed in the solution to the earlier question


doesn't work if one uses the option to "Run JavaScript" in the settings of Shortkeys.

Is there any idea how to fix this and/or how to use the great functionality of detaching tabs with shortcuts from FF 58 onwards?

Of course I did check the documentation but couldn't find the right shortcut.

Best Answer

  • Edit 2:: I've uploaded a new signed extension that moves the active tab to a new window on Ctrl+Shift+1: The shortcut isn't intuitive, but without knowing the platform Firefox is running on, I have to plan for compatibility.

    Sorry about the first edit; I uploaded the wrong extension by accident. The one in the link above should meet the criteria from the question.

    Edit: A signed version of the extension is here:

    Old Answer:

    I made a Firefox WebExtension that moves the active tab to a new window on Ctrl+Shift+0. It's unsigned, but you can easily verify for yourself that the 46 lines of code aren't malicious.

    You can try it out in Nightly by setting xpinstall.signatures.required to false and clicking [Install Add-on From File...] in the gear menu in about:addons. I think unsigned extensions can still be temporarily installed on release builds of Firefox through [Load Temporary Add-on] in about:debugging.

    You are free to modify the extension source to suit your needs or ask me to do so.

  • Related Question