5
0
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.
Good question, but note I wouldn't expect any
chrome://
URI to work in FF :-) – Sean Allred – 2018-02-07T00:00:13.730@SeanAllred Thanks for your hint but I think it was quite usual before. See e.g. here: https://developer.mozilla.org/en-US/docs/Mozilla/Chrome_Registration
– MathProb – 2018-02-07T08:50:40.287Correct me if I'm wrong, but I don't think that article is referring to chrome the browser. – Sean Allred – 2018-02-07T13:02:22.523
@SeanAllred but if I'm not wrong, neither does the command above? – MathProb – 2018-02-07T14:51:03.437
Well I'll be damned; I stand corrected. – Sean Allred – 2018-02-07T14:53:48.813