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
window.openDialog("chrome://browser/content/browser.xul","_blank","chrome,dialog=no,all",gBrowser.mCurrentTab);
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.