Supposedly it's middle mouse button, but obviously I'm lacking that. In other browsers it was generally ctrl+click (on a link) to open a link in a new tab. But that isn't working.
Can't find any options in the settings either to change it. Is there a workaround, or an addon/extension for this?
Edit: To clarify, I'm not talking about Ctrl+T. That just opens a blank tab, or my last closed tab.
Shortcut key for open new tab next to current tab
New tab shortcut for Firefox android
Keyboard shortcut for new tab in SAME container?
How to open image in new tab?
Middle click, or CTRL+Click on the "View Image" option in the Right Click Menu.
More on reddit.comVideos
Firefox has a built-in setting
(about:config item browser.tabs.insertRelatedAfterCurrent)
to automatically open tabs next to the current tab, but it only works
when clicking a link inside the current tab, and will then open that tab
next to the current one.
But if you click the New button or press Ctrl+T,
it will always add the new tab at the end of all the tabs.
To change the the way that New-Tab works, install the add-on Open Tabs Next to Current.
A non-add-on way is to use the bookmarklet described here:
javascript:window.open('about:blank');void(0);
Click the bookmarklet in the Bookmarks Toolbar or assign it a keyword to open a new tab after the current one.
Firefox v=102 has a built-in setting called browser.tabs.insertAfterCurrent.
If you set it to true using about:config you will get what you are looking for, using CTRL+T will open a tab to the right of the current one.
I think that setting has been available for a few versions now, probably since at least version 86, maybe much earlier.
Here's how to create your own keyboard shortcut to Detach a Firefox Tab to a New Window:
Install the Keyconfig addon
Open the Keyconfig
Preferencesby pressing Ctrl+Shift+F12 (On Mac it may be ⌘ Cmd+Shift+F12)Click
Add a new keyat the bottom left of the keyconfig window.Replace the contents of the
Namefield with the name of this command:Detach Tab to New WindowPaste the following code into the /* CODE */ field:
window.openDialog("chrome://browser/content/browser.xul","_blank","chrome,dialog=no,all",gBrowser.mCurrentTab);Click OK.
Your new command will be marked as <Disabled> This means you need to set a keyboard shortcut for this command. Make sure your command is selected from the list of commands. Click inside the field at the bottom left of the window. It will highlight the contents and whatever keys you hit next will be entered inside that box. For example, you might use Ctrl+Alt+N. Or if you're a fan of Vim you might use Shift+Y.
Click
Applyand then clickCloseto close the keyconfig window. Test your keyboard shortcut by loading a window with at least 2 tabs and then use your new keyboard shortcut. The current tab should detach itself and form a new window.
I found the best way to do this without any third party software. Basically, this is @exic solution with only 2 steps instead of 6 :
Ctrl + L : Focus address bar
Shift + Enter : Open url in new window
This of course has the same con as @exic of loading a new page instead of taking the current one out.
Actually i would like to comment @avirk's answer, but, i don't know why, i can't comment any answer to this question.
@avirk's answer helped me to completely solve the issue, so I give him the bounty, but i have to change some details, and so, I want to summarize all the actions that does the trick for me, for the future readers.
Оpen page
about:config, and change the value of variablebrowser.tabs.loadInBackgroundtofalse;Install Tab Mix Plus addon;
Open Tab Mix Plus settings;
Go to
Linkstab and set the optionEnable Single Window ModeGo to
Eventstab,Tab openingsub-tab, and in the groupFocus/Select tabs that open fromset the optionLinks.At the same tab and sub-tab, in the group
Inverse Middle-click or Control-click focus of:set the optionLinks.
Now, the problem is solved: Shift+click opens link in the new tab and moves focus to new tab, and Ctrl+click opens link in the background tab. Exactly like Opera does, which is needed.
First of all download Tab Mix Plus addon for the Firefox. After installing it you will find it under the Tools menu with the name of Tab Mix Plus Options. After launching the addon now see the Links tab and check/tick the option Enable single window mode.
Now under the Events tab select the Tab opening option and check/tick the option Middle-click or Control-click opens items in current tab. Now it will disable the control of Ctrl+T to open new tab and Shift+click will open the new tab.
In Firefox, click on new tab button [+] or middle click on empty space of title bar opens a new tab, with Ctrl + T as shortcut key. Moreover, middle click on new tab button opens new tab NEXT TO current tab. Is there a short cut key for it?