Background Tabs is a Firefox extension that enables searches from the search bar or entries to the URL bar to open in background tabs by using the [CTRL] key when hitting [ENTER]. (Current versions aren't working from the search bar, though -- might be a Firefox bug...)
Donations are welcome! (No account is required! -- just click the hard-to-see "Continue" if you have no PayPal account.)
Note how the opened tab is not the dominant tab...
Latest version: 1.8 -- supports 3.5 - 39.* and probably higher
Available for download at addons.mozilla.orgOr, they haven't updated yet, you can download the latest version here.
(click and then choose "open with Firefox") Comments/suggestions/bug reports welcome!
With this extension, holding [CTRL] or [command] (meta key) when you hit [ENTER] will cause the new tab to be opened but not switched to. I find this crucial for when I want to keep reading a web page but want to make tabs in the background for later reading (e.g. looking up words, starting searches form the search bar, simulating a "CTRL-click" on a link without using the mouse, etc.) This extension will let you open all those tabs in the background and not have to do all the switching of tabs to get back to where you were.
It also works when CTRL-clicking on the search magnifying glass icon (although not when clicking the "go" icon to the right of the URL bar.)
When you enter something in the URL bar or search bar and hit [ENTER], it replaces the current tab's contents, and if you hold down [ALT] when you hit [ENTER], it will open the contents in a new tab, and it will switch to that tab. I wanted this third functionality.
People used to the IE-style where the [CTRL] causes prefixes/suffixes to be added to the typed-in phrase will notice that functionality gone.
Note that there is a hidden browser preference called "browser.search.openintab". It defaults to false. If you set it to true, then the behavior of this extension stays the same, but the normal [ALT] modification reverses with respect to [ALT], in terms of searches from the search bar. (Note - I haven't tested this recently).
(The setting available at Preferences->Tabs->"When I open a new tab, switch to it immediately", a.k.a. "browser.tabs.loadInBackground", which affects the behavior of [CTRL]-clicking URLs in pages, may also play into things, but I don't think so...)
Rather related Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=237027
Possible future features:
- the ability to change which key combinations do what
- the ability to have the default (no key) action be changed as well