搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

  • 4 回覆
  • 1 有這個問題
  • 346 次檢視
  • 最近回覆由 cor-el

more options

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.

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

選擇的解決方法

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.

more options

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.

more options

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

more options

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)