Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
Solved 已存档

open links from sidebar in new tab with ctrl without switching to it immediately

ibrahimasif1234

When you open a link from the sidebar while holding ctrl, firefox opens it in a new tab and switches to it immediately; whereas when you click a link from a webpage with ctrl, it does not switch to the new tab (unless you hold shift as well, or check "When you open a link, image or media in a new tab, switch to it immediately" in settings > general > tabs). I would like if firefox does not automatically switch to opened links from the sidebar (history, bookmark, etc.), when I open them with ctrl? (I know I can hold shift to do that, but I was wondering if there might be a preference in about:config to change the reverse this behaviour for sidebars)


Thanks, Ibr.

When you open a link from the sidebar while holding ctrl, firefox opens it in a new tab and switches to it immediately; whereas when you click a link from a webpage with ctrl, it does not switch to the new tab (unless you hold shift as well, or check "When you open a link, image or media in a new tab, switch to it immediately" in settings > general > tabs). I would like if firefox does not automatically switch to opened links from the sidebar (history, bookmark, etc.), when I open them with ctrl? (I know I can hold shift to do that, but I was wondering if there might be a preference in about:config to change the reverse this behaviour for sidebars) Thanks, Ibr.

所有回复 (4)

选择的解决方案

For bookmarks you can change browser.tabs.loadBookmarksInBackground to true. There is no such setting for history but you can drag and drop links into the tab bar.

I have set browser.tabs.loadBookmarksInBackground to true, but it seems to work for the history sidebar too (not for sync tabs). Are you sure this only works for bookmark sidebar? By the way, I am using Firefox Developer Edition.

I was getting confused with browser.tabs.loadBookmarksInTabs which is limited to bookmarks like its name implies.

This could also be about browser.tabs.loadInBackground for normal links whereas browser.tabs.loadBookmarksInBackground is about tabs.

You can toggle the default action for opening a link in the background by holding down the Shift key when you use Ctrl plus left-click or middle-click a link.

  • browser.tabs.loadInBackground (normal links)
  • browser.tabs.loadDivertedInBackground (javascript)
  • browser.tabs.loadBookmarksInBackground (bookmarks)
  • browser.search.context.loadInBackground (context menu: Search)